Htaccess File

AnimeshShaw/Online-Hash-Generator/master/.htaccess

REDIRECT_STATUS
ErrorDocument 404 /inc/404.html

<Files .htaccess>
 order allow,deny
 deny from all
</Files>

DirectoryIndex hashgen.php

<FilesMatch "^php5?.(ini|cgi)$">
Order Deny,Allow
Deny from All
Allow from env=REDIRECT_STATUS
</FilesMatch>

<IfModule mod_gzip.c>
    mod_gzip_on       Yes
    mod_gzip_dechunk  Yes
    mod_gzip_item_include file      .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler   ^cgi-script$
    mod_gzip_item_include mime      ^text/.*
    mod_gzip_item_include mime      ^application/x-javascript.*
    mod_gzip_item_exclude mime      ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

<IfModule mod_speling.c>
 CheckSpelling On
</IfModule>

AddDefaultCharset UTF-8
DefaultLanguage en-US

RemoveHandler cgi-script .pl .py .cgi .jsp .asp
Exit mobile version