]> andersk Git - sql-web.git/blame - .htaccess
first stab at 0.2
[sql-web.git] / .htaccess
CommitLineData
997305cf
JP
1#php_value auto_prepend_file "prepend.php"
2php_value auto_append_file "global.done.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"
7
8RewriteEngine On
9RewriteBase /~administrator/mitsql/
10
11#RewriteOptions MaxRedirects=1
12
13#RewriteCond %{REQUEST_FILENAME}.php -f
14#RewriteRule ^.* do/%{REQUEST_FILENAME}
15#RewriteCond %{REQUEST_URI} !^/~administrator/mitsql/go/.+
16
17##RewriteCond %{REQUEST_URI}
18##RewriteCond %{REQUEST_FILENAME} !-s
19#RewriteRule ^do/.+$ - [L]
20
21#RewriteCond %{IS_SUBREQ} !="true"
22#RewriteRule ^.*$ do/index [R,L]
23
24##RewriteCond %{REQUEST_URI} ^.*/do/.+$
25##RewriteRule ^do/.+$ - [C]
26#RewriteRule ^do/(.+)$ $1.php [PT,L]
27
28#RewriteRule ^do/(.+)$ $1.php [L]
29
30## attempt 2
31#RewriteCond %{REQUEST_URI} !^.*/do/.+$
32#RewriteRule ^.*$ do/index [R,L]
33#
34#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
35#RewriteRule \.php$ - [F]
36#
37##RewriteCond do/%{REQUEST_FILENAME}.php -f
38#RewriteRule ^do/(.+)$ $1.php [L]
39
40# attempt 3
41
42#RewriteRule \.php$ - [F,C]
43
44#RewriteCond %{REQUEST_URI} !^.*/do/.+$
45#RewriteRule ^.*$ do/index [R,L]
46
47#RewriteCond do/%{REQUEST_FILENAME}.php -f
48#RewriteRule ^do/(.+)$ $1.php [L]
49
50#RewriteCond %{THE_REQUEST} !^(GET|HEAD)\ /.+\.php\ HTTP
51#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+mitsql/do/.+\ HTTP
52
53## REVISION 4
54
55RewriteCond %{REQUEST_URI} ^.*/mitsql/do/(.+)$
56RewriteRule ^do/(.+)$ $1.php [QSA]
57
58RewriteCond %{REQUEST_FILENAME} !-f
59RewriteRule .* do/index [R,L,QSA]
60
61# now redundant after following conditions
62#RewriteCond %{THE_REQUEST} ^(GET|HEAD)\ /.+\.php\ HTTP
63#RewriteRule .* do/index [R,L,QSA]
64
65RewriteCond %{THE_REQUEST} !^(GET|HEAD)\ /.+mitsql/do/.+\ HTTP
66RewriteCond %{REQUEST_FILENAME} !\.html$
67RewriteCond %{REQUEST_FILENAME} !\.css$
68RewriteCond %{REQUEST_FILENAME} !\.jpg$
69RewriteRule .* do/index [R,L,QSA]
This page took 0.076464 seconds and 5 git commands to generate.