1 #php_value auto_append_file "global.done.php"
2 #php_value auto_prepend_file "prepend.php"
3 #php_flag xdebug.remote_enable on
4 #php_flag xdebug.remote_autostart on
5 #php_value xdebug.remote_host "localhost"
6 #php_value xdebug.remote_port "9000"
10 #RewriteBase http://sql.mit.edu/
13 #RewriteOptions MaxRedirects=1
15 #RewriteCond %{REQUEST_FILENAME}.php -f
16 #RewriteRule ^.* do/%{REQUEST_FILENAME}
17 #RewriteCond %{REQUEST_URI} !^/~administrator/mitsql/go/.+
19 ##RewriteCond %{REQUEST_URI}
20 ##RewriteCond %{REQUEST_FILENAME} !-s
21 #RewriteRule ^do/.+$ - [L]
23 #RewriteCond %{IS_SUBREQ} !="true"
24 #RewriteRule ^.*$ do/index [R,L]
26 ##RewriteCond %{REQUEST_URI} ^.*/do/.+$
27 ##RewriteRule ^do/.+$ - [C]
28 #RewriteRule ^do/(.+)$ $1.php [PT,L]
30 #RewriteRule ^do/(.+)$ $1.php [L]
33 #RewriteCond %{REQUEST_URI} !^.*/do/.+$
34 #RewriteRule ^.*$ do/index [R,L]
36 #RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
37 #RewriteRule \.php$ - [F]
39 ##RewriteCond do/%{REQUEST_FILENAME}.php -f
40 #RewriteRule ^do/(.+)$ $1.php [L]
44 #RewriteRule \.php$ - [F,C]
46 #RewriteCond %{REQUEST_URI} !^.*/do/.+$
47 #RewriteRule ^.*$ do/index [R,L]
49 #RewriteCond do/%{REQUEST_FILENAME}.php -f
50 #RewriteRule ^do/(.+)$ $1.php [L]
52 #RewriteCond %{THE_REQUEST} !^(GET|HEAD)\ /.+\.php\ HTTP
53 #RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+mitsql/do/.+\ HTTP
57 RewriteCond %{REQUEST_URI} ^.*/do/(.+)$
58 RewriteRule ^do/(.+)$ $1.php [QSA]
60 RewriteCond %{REQUEST_FILENAME} !-f
61 RewriteRule .* do/index [R,L,QSA]
63 # now redundant after following conditions
64 #RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
65 #RewriteRule .* do/index [R,L,QSA]
67 RewriteCond %{THE_REQUEST} !^(GET|POST)\ /.+do/.+\ HTTP
68 RewriteCond %{REQUEST_FILENAME} !\.html$
69 RewriteCond %{REQUEST_FILENAME} !\.css$
70 RewriteCond %{REQUEST_FILENAME} !\.jpg$
71 RewriteRule .* do/index [R,L,QSA]