cucumber Posted January 8, 2009 Report Posted January 8, 2009 Ka var panakt URL parveidi www.staits.lv/manalapa.php --> www.staits.lv/manalapa it ka interneta atradu snipetu, bet vinsh neiet Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc] ieksh htconfig'a esmu iesledzis mod_rewirte un modelis ari tads ir Varbut ko vel neesmu piekonfigurejis?
marcis Posted January 8, 2009 Report Posted January 8, 2009 309475345 reizes pārrunāta tēma, meklē tepat forumā.
cucumber Posted January 9, 2009 Author Report Posted January 9, 2009 (edited) nedomaju, gan ka parunata tik daudzas reizes. Bet ideju sapratu. Visiem lininkiem jabut bez saita jabut bez .php, bet ar mode rewrite to ir japarsuta uz lapa.php, var vel skatities ja lietotajs ievada lapa.php, lai nogriez .php Edited January 9, 2009 by cucumber
xPtv45z Posted January 9, 2009 Report Posted January 9, 2009 Tev jau šeit .htm lapas pārraksta uz php - ^(.*)\.htm$ www.saits.lv/manalapa.htm -> www.saits.lv/manalapa.php
cucumber Posted January 9, 2009 Author Report Posted January 9, 2009 ja es sapratu ka shi variants man neder
Recommended Posts