-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# aeSecure | ||
ErrorDocument 403 '<html xmlns="http://www.w3.org/1999/xhtml"><head><style type="text/css" >body{color:#fff;background-color:#851507;font:14px/1.5 Helvetica,Arial,sans-serif};</style><title>Access denied</title></head><body><div style="margin:20px auto;width:700px;padding-top:50px"><h1>Access denied, unauthorized access.<br/><br/>If you think it is an error, please inform the webmaster to help him to adjust his security rules.<br/>Thank you.</h1><pre style="padding:20px;white-space:pre-line;border-radius:10px;background-color:#b34334">Code : 403 - Deny access</pre></div></body></html>' | ||
|
||
# Block standard Joomla files that are always installed by default | ||
<FilesMatch "(joomla_black\.gif|joomla_green\.gif|joomla_logo_black\.jpg|powered_by\.png)"> | ||
Order Allow,Deny | ||
Deny from all | ||
</FilesMatch> | ||
|
||
#Deny access to all CGI, Perl, PHP and Python | ||
<FilesMatch "\.(cgi|php|pl|py|jsp|sh)$"> | ||
Deny from all | ||
</FilesMatch> | ||
|
||
# secure directory by disabling script execution | ||
AddHandler cgi-script .php .pl .py .jsp .asp .sh .cgi | ||
Options -ExecCGI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters