cucumber Posted January 8, 2009 Report Share 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? Link to comment Share on other sites More sharing options...
marcis Posted January 8, 2009 Report Share Posted January 8, 2009 309475345 reizes pārrunāta tēma, meklē tepat forumā. Link to comment Share on other sites More sharing options...
cucumber Posted January 9, 2009 Author Report Share 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 Link to comment Share on other sites More sharing options...
xPtv45z Posted January 9, 2009 Report Share Posted January 9, 2009 Tev jau šeit .htm lapas pārraksta uz php - ^(.*)\.htm$ www.saits.lv/manalapa.htm -> www.saits.lv/manalapa.php Link to comment Share on other sites More sharing options...
cucumber Posted January 9, 2009 Author Report Share Posted January 9, 2009 ja es sapratu ka shi variants man neder Link to comment Share on other sites More sharing options...
Recommended Posts