From: x2000habouzit Date: Sun, 30 Jul 2006 21:40:12 +0000 (+0000) Subject: trick the apache config to use DirectoryIndex to choose the site we want X-Git-Tag: xorg/0.9.11~178 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6d262738506464291c5bf096912a6dfd5f57104c;p=platal.git trick the apache config to use DirectoryIndex to choose the site we want to show, so that we can make both live in the same directory \o/ remove any reference to index.php in the .htaccess files git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@736 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs.net/.htaccess b/htdocs.net/.htaccess index 6310a7b..3753de7 100644 --- a/htdocs.net/.htaccess +++ b/htdocs.net/.htaccess @@ -6,4 +6,4 @@ RewriteBase /~x2000habouzit # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ index.php?n=$1 [L,QSA] +RewriteRule ^(.*)$ ?n=$1 [L,QSA] diff --git a/htdocs.net/index.php b/htdocs.net/xnet.php similarity index 100% rename from htdocs.net/index.php rename to htdocs.net/xnet.php diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 6310a7b..3753de7 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -6,4 +6,4 @@ RewriteBase /~x2000habouzit # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ index.php?n=$1 [L,QSA] +RewriteRule ^(.*)$ ?n=$1 [L,QSA] diff --git a/htdocs/index.php b/htdocs/xorg.php similarity index 100% rename from htdocs/index.php rename to htdocs/xorg.php