hoho Posted June 1, 2008 Report Share Posted June 1, 2008 kaadu rindinju vajag pielikt failaa .htaccess, lai atverot www.site.com/site/ vai www.site.com/site tiktu palaists fails site.php? Tas attiecas tikai uz so vienu failu .... Paldies Link to comment Share on other sites More sharing options...
Paulinjsh Posted June 1, 2008 Report Share Posted June 1, 2008 RewriteEngine On RewriteRule ^site?(.*)$ site.php [L] vajadzētu tā strādāt. bet vispār tantē viens no pirmajiem piemēriem rakstot mod_rewrite Link to comment Share on other sites More sharing options...
hoho Posted June 3, 2008 Author Report Share Posted June 3, 2008 Tagad ja man ir viena lapaa links uz site.lv/site/, tad paarlukprogrammaa man atveeras site.lv/site.php/. Bet man vajag lai links site.lv/site/ taa arii atveertos paarlukprogrammaa - site.lv/site/, bet tiktu izmantots fails site.php. Vai taa var? Link to comment Share on other sites More sharing options...
andrisp Posted June 3, 2008 Report Share Posted June 3, 2008 It kaa jau peec Paulinja piemeera, ja ver site.lv/site/ tad taa arii vajadzeetu atveerties nevis notikt kaut kaada mistiskai paaradresaacijai (peec tava teiktaa) uz site.lv/site.php/ Link to comment Share on other sites More sharing options...
Recommended Posts