# 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]