]> andersk Git - sql-web.git/commitdiff
clean up htaccess
authorJoe Presbrey <presbrey@mit.edu>
Tue, 21 Aug 2007 21:47:33 +0000 (21:47 +0000)
committerJoe Presbrey <presbrey@mit.edu>
Tue, 21 Aug 2007 21:47:33 +0000 (21:47 +0000)
git-svn-id: svn://presbrey.mit.edu/sql/web/dev@140 a142d4bd-2cfb-0310-9673-cb33a7e74f58

.htaccess.dev
.htaccess.main
test.php

index a4380604e25c61d79ffd1dabb6b7179a08af67a2..2e1c5cc8023b2a34d2d1f3c57267dba4045c8805 100644 (file)
@@ -1,69 +1,12 @@
-#php_value auto_append_file "global.done.php"
-#php_value auto_prepend_file "prepend.php"
-#php_flag xdebug.remote_enable on
-#php_flag xdebug.remote_autostart on
-#php_value xdebug.remote_host "localhost"
-#php_value xdebug.remote_port "9000"
-
 RewriteEngine On
 RewriteBase /~sql/dev/
-#RewriteBase http://sql.mit.edu/
-#RewriteBase /
-
-#RewriteOptions MaxRedirects=1
-
-#RewriteCond %{REQUEST_FILENAME}.php -f
-#RewriteRule ^.* do/%{REQUEST_FILENAME}
-#RewriteCond %{REQUEST_URI} !^/~administrator/mitsql/go/.+
-
-##RewriteCond %{REQUEST_URI} 
-##RewriteCond %{REQUEST_FILENAME} !-s
-#RewriteRule ^do/.+$ - [L]
-
-#RewriteCond %{IS_SUBREQ} !="true"
-#RewriteRule ^.*$ do/index [R,L]
-
-##RewriteCond %{REQUEST_URI} ^.*/do/.+$
-##RewriteRule ^do/.+$ - [C]
-#RewriteRule ^do/(.+)$ $1.php [PT,L]
-
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-## attempt 2
-#RewriteCond %{REQUEST_URI} !^.*/do/.+$
-#RewriteRule ^.*$ do/index [R,L]
-#
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteRule \.php$ - [F]
-#
-##RewriteCond do/%{REQUEST_FILENAME}.php -f
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-# attempt 3
-
-#RewriteRule \.php$ - [F,C]
-
-#RewriteCond %{REQUEST_URI} !^.*/do/.+$
-#RewriteRule ^.*$ do/index [R,L]
-
-#RewriteCond do/%{REQUEST_FILENAME}.php -f
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-#RewriteCond %{THE_REQUEST} !^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+mitsql/do/.+\ HTTP
-
-## REVISION 4
 
 RewriteCond %{REQUEST_URI} ^.*/do/(.+)$
-RewriteRule ^do/(.+)$ $1.php [QSA]
+RewriteRule ^do/(.+)$ $1.php [L,QSA]
 
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule .* do/index [R,L,QSA]
 
-# now redundant after following conditions
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteRule .* do/index [R,L,QSA]
-
 RewriteCond %{THE_REQUEST} !^(GET|POST)\ /.+do/.+\ HTTP
 RewriteCond %{REQUEST_FILENAME} !\.html$
 RewriteCond %{REQUEST_FILENAME} !\.css$
index cddad4455ffc28c24e6491bff98dbc053f94ccdf..bcb65c259007592cc70ee8f21584e3a61501da8f 100755 (executable)
@@ -1,58 +1,5 @@
-#php_value auto_append_file "global.done.php"
-#php_value auto_prepend_file "prepend.php"
-#php_flag xdebug.remote_enable on
-#php_flag xdebug.remote_autostart on
-#php_value xdebug.remote_host "localhost"
-#php_value xdebug.remote_port "9000"
-
 RewriteEngine On
 RewriteBase /~sql/main/
-#RewriteBase http://sql.mit.edu/
-#RewriteBase /
-
-#RewriteOptions MaxRedirects=1
-
-#RewriteCond %{REQUEST_FILENAME}.php -f
-#RewriteRule ^.* do/%{REQUEST_FILENAME}
-#RewriteCond %{REQUEST_URI} !^/~administrator/mitsql/go/.+
-
-##RewriteCond %{REQUEST_URI} 
-##RewriteCond %{REQUEST_FILENAME} !-s
-#RewriteRule ^do/.+$ - [L]
-
-#RewriteCond %{IS_SUBREQ} !="true"
-#RewriteRule ^.*$ do/index [R,L]
-
-##RewriteCond %{REQUEST_URI} ^.*/do/.+$
-##RewriteRule ^do/.+$ - [C]
-#RewriteRule ^do/(.+)$ $1.php [PT,L]
-
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-## attempt 2
-#RewriteCond %{REQUEST_URI} !^.*/do/.+$
-#RewriteRule ^.*$ do/index [R,L]
-#
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteRule \.php$ - [F]
-#
-##RewriteCond do/%{REQUEST_FILENAME}.php -f
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-# attempt 3
-
-#RewriteRule \.php$ - [F,C]
-
-#RewriteCond %{REQUEST_URI} !^.*/do/.+$
-#RewriteRule ^.*$ do/index [R,L]
-
-#RewriteCond do/%{REQUEST_FILENAME}.php -f
-#RewriteRule ^do/(.+)$ $1.php [L]
-
-#RewriteCond %{THE_REQUEST} !^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+mitsql/do/.+\ HTTP
-
-## REVISION 4
 
 RewriteCond %{REQUEST_URI} ^.*/do/(.+)$
 RewriteRule ^do/(.+)$ $1.php [L,QSA]
@@ -60,10 +7,6 @@ RewriteRule ^do/(.+)$ $1.php [L,QSA]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule .* do/index [R,L,QSA]
 
-# now redundant after following conditions
-#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
-#RewriteRule .* do/index [R,L,QSA]
-
 RewriteCond %{THE_REQUEST} !^(GET|POST)\ /.+do/.+\ HTTP
 RewriteCond %{REQUEST_FILENAME} !\.html$
 RewriteCond %{REQUEST_FILENAME} !\.css$
index af8af57740cc004c1213ba0eafd117e407e1d75f..2c6210a5eed3b872db8f22a14300c1aa73efcced 100755 (executable)
--- a/test.php
+++ b/test.php
@@ -35,7 +35,7 @@ echo $l->isValid();
 print_r($GLOBALS);
 */
 
-phpinfo();
+//phpinfo();
 
 //checkQuotas();
 
This page took 0.048626 seconds and 5 git commands to generate.