EdgarsK Posted July 15, 2009 Report Share Posted July 15, 2009 Sveiki, vēlos izveidot .htaccess kurš darbotos pēc šāda principa www.majaslapa.lv - darbojas index.php www.majaslapa.lv/hosts - darbojas index.php?key=hosts www.majaslapa.lv/hosts/redirect - darbojas index.php?key=hosts/redirect www.majaslapa.lv/hosts/redirect/test - darbojas index.php?key=hosts/redirect/test un ta talak.. Paldies jau iepriekš :) Link to comment Share on other sites More sharing options...
EdgarsK Posted July 15, 2009 Author Report Share Posted July 15, 2009 Ok tas prasija milzigu pacietibu , bet luuk arii atbilde Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?key=$1 [L,QSA] Link to comment Share on other sites More sharing options...
Recommended Posts