| Current Path : /home/bijouxly/old/includes/ |
| Current File : /home/bijouxly/old/includes/.htaccess |
# aeSecure
RewriteEngine on
RewriteOptions Inherit
# secure directory by disabling script execution
AddHandler cgi-script .php .pl .py .jsp .asp .sh .cgi
Options -ExecCGI
##Deny access to all CGI, Perl, PHP and Python
<FilesMatch "\.(asp?x|cgi|php|pl|py)$">
Deny from all
</FilesMatch>
# Comment this line if you wish to make possible to access the folder by url.
# The line below will prohibited every single url like http:/yoursite/includes/xxx
# Allow javascript calls (done under Joomla 1.5)
RewriteCond %{REQUEST_FILENAME} !(.*)\.js$
RewriteCond %{REQUEST_FILENAME} !(.*)\.css$
RewriteRule . /aesecure/accessdenied.php?s=403&fld=includes [L]