summaryrefslogtreecommitdiffstats
path: root/public/.htaccess
blob: a0f45c748200b8986e6a907f0cdbc65ad0c14afe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Deny from all
Allow from 132.230.0.0/255.255.0.0
Allow from 127.0.0.0/255.0.0.0
Allow from 192.168.0.0/255.255.0.0

RewriteEngine On

RewriteRule ^c/(.*)/default.tgz$ /resource/getconfig/alpha/$1/file/default.tgz [L,R=301] 

RewriteRule ^dev(.*)$ /user [L,R=301] 

RewriteRule ^(media) - [L]

RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]