trick the apache config to use DirectoryIndex to choose the site we want
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 21:40:12 +0000 (21:40 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 21:40:12 +0000 (21:40 +0000)
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
htdocs.net/xnet.php [moved from htdocs.net/index.php with 100% similarity]
htdocs/.htaccess
htdocs/xorg.php [moved from htdocs/index.php with 100% similarity]

index 6310a7b..3753de7 100644 (file)
@@ -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]
similarity index 100%
rename from htdocs.net/index.php
rename to htdocs.net/xnet.php
index 6310a7b..3753de7 100644 (file)
@@ -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]
similarity index 100%
rename from htdocs/index.php
rename to htdocs/xorg.php