ranrolls/ras-full-portal/master/media/com_judirectory/.htaccess - Htaccess File

ranrolls/ras-full-portal/master/media/com_judirectory/.htaccess

#--------------------------------------------------------#
#     Protect files                                      #
#--------------------------------------------------------#
<FilesMatch ".(?:htaccess|htpasswd|ini|php|phtml|php3|php4|php5|php6|pl|py|jsp|asp|htm|shtml|bat|sh|cgi)$">
Order allow,deny
Deny from all
</FilesMatch>

#--------------------------------------------------------#
#     Don't run executable files                         #
#--------------------------------------------------------#
<Files *>
  SetHandler none
    SetHandler default-handler
</Files>

#php_flag engine off

#--------------------------------------------------------#
#     Block shell uploaders, htshells, and other baddies #
#--------------------------------------------------------#
RewriteCond %{REQUEST_URI} ((php|my|bypass)?shell|remview.*|phpremoteview.*|sshphp.*|pcom|nstview.*|c99|c100|r57|webadmin.*|phpget.*|phpwriter.*|fileditor.*|locus7.*|storm7.*).(p?s?x?htm?l?|txt|aspx?|cfml?|cgi|pl|php[3-9]{0,1}|jsp?|sql|xml) [NC,OR]
RewriteCond %{REQUEST_URI} (.exe|.php?act=|.tar|_vti|afilter=|algeria.php|chbd|chmod|cmd|command|db_query|download_file|echo|edit_file|eval|evil_root|exploit|find_text|fopen|fsbuff|fwrite|friends_links.|ftp|gofile|grab|grep|htshell| -dump|logname|lynx|mail_file|md5|mkdir|mkfile|mkmode|MSOffice|muieblackcat|mysql|owssvr.dll|passthru|popen|proc_open|processes|pwd|rmdir|root|safe0ver|search_text|selfremove|setup.php|shell|ShellAdresi.TXT|spicon|sql|ssh|system|telnet|trojan|typo3|uname|unzip|w00tw00t|whoami|xampp) [NC,OR]
RewriteCond %{QUERY_STRING} (.exe|.tar|act=|afilter=|alter|benchmark|chbd|chmod|cmd|command|cast|char|concat|convert|create|db_query|declare|delete|download_file|drop|edit_file|encode|environ|eval|exec|exploit|find_text|fsbuff|ftp|friends_links.|globals|gofile|grab|insert|localhost|logname|loopback|mail_file|md5|meta|mkdir|mkfile|mkmode|mosconfig|muieblackcat|mysql|order|passthru|popen|proc_open|processes|pwd|request|rmdir|root|scanner|script|search_text|select|selfremove|set|shell|sql|sp_executesql|spicon|ssh|system|telnet|trojan|truncate|uname|union|unzip|whoami) [NC]
RewriteRule .* - [F]

#--------------------------------------------------------#
#     No directory listings                              #
#--------------------------------------------------------#
IndexIgnore *
Options All -Indexes

#--------------------------------------------------------#
#     Only allow GET HTTP methods                        #
#--------------------------------------------------------#
<LimitExcept GET>
Deny from all
</LimitExcept>

On Github License

Files

Download PDF of Htaccess file
GET, QUERY_STRING, REQUEST_URI

Comments

Apache