X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2F.htaccess;h=3753de7ce2c7d03550e2645187c6ff9b4053f78a;hb=8b1f8e12d444062ef63a0db3a8fa94582a9778c3;hp=4c8f34b9a72e49cacf420197c5b047497e9d89a0;hpb=4a5fb34b970c9ba7c469f15935b8ae788dc026b0;p=platal.git diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 4c8f34b..3753de7 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -1,15 +1,9 @@ -DirectoryIndex test.php index.php - Options +FollowSymLinks RewriteEngine on RewriteBase /~x2000habouzit -# wiki - -RewriteRule ^([A-Z].*) wiki.php?n=$1 [L,QSA] - # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ test.php?p=$1 [L,QSA] +RewriteRule ^(.*)$ ?n=$1 [L,QSA]