hoho Posted June 1, 2008 Report 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
Paulinjsh Posted June 1, 2008 Report 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
hoho Posted June 3, 2008 Author Report 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?
andrisp Posted June 3, 2008 Report 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/
Recommended Posts