summaryrefslogblamecommitdiffstats
path: root/public/.htaccess
blob: 24bd55d2be317f3d8c1dd53334828f175b37e718 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
               
                                  
                              
                                  
 
                
 
                                                                                         

                                                                                   


                                      
                          
 




                                       
# 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 ^ipxe$ /ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123 [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]