]> andersk Git - sql-web.git/blobdiff - .htaccess.main
clean up htaccess
[sql-web.git] / .htaccess.main
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$
This page took 0.194549 seconds and 4 git commands to generate.