From 6d262738506464291c5bf096912a6dfd5f57104c Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sun, 30 Jul 2006 21:40:12 +0000 Subject: [PATCH] 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 --- htdocs.net/.htaccess | 2 +- htdocs.net/{index.php => xnet.php} | 0 htdocs/.htaccess | 2 +- htdocs/{index.php => xorg.php} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename htdocs.net/{index.php => xnet.php} (100%) rename htdocs/{index.php => xorg.php} (100%) 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 -- 2.1.4