Your IP : 216.73.216.134


Current Path : /home/bijouxly/old/libraries/
Upload File :
Current File : /home/bijouxly/old/libraries/.htaccess

# aeSecure

RewriteEngine on
RewriteOptions Inherit

# Some frameworks like Gantry has stored media files in a subfolder of the /libraries webroot folder.   
# Allow direct access for these files 
RewriteCond %{REQUEST_FILENAME} !\.(ico?n|img|gif|jpe?g|png|css|map)$ [NC]
RewriteCond %{REQUEST_FILENAME} !\.js(\?.*)?$ [NC]
RewriteCond %{REQUEST_FILENAME} !\.(eot|svg|ttf|woff2?)(\?.*)?$ [NC]
# Comment this line if you wish to make possible to access the /libraries folder by url.
RewriteRule . /aesecure/accessdenied.php?s=403&fld=libraries

##Deny access to all CGI, Perl, PHP and Python
<FilesMatch "\.(asp?x|cgi|php|pl|py)$">
Deny from all
</FilesMatch>

# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .sh .cgi
Options -ExecCGI