php_flag display_errors Off php_flag display_errors Off php_flag display_errors Off Options -Indexes Header unset X-Powered-By Header unset X-Pingback Header unset SERVER RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|DELETE|TRACK) [NC] RewriteRule ^(.*)$ - [F,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* error_page.php?error=404 [L] Order Deny,Allow Deny from all Order Allow,Deny Deny from all Order Allow,Deny Deny from all # From https://htaccessbook.com/useful-htaccess-rules/ # JAVASCRIPT AddType application/javascript js jsonp AddType application/json json AddType application/manifest+json webmanifest # FONTS AddType font/opentype otf AddType application/font-woff woff AddType application/x-font-woff woff AddType application/vnd.ms-fontobject eot AddType application/x-font-ttf ttc ttf AddType image/svg+xml svg svgz AddType application/wasm wasm.gz wasm AddEncoding gzip gz # AUDIO AddType audio/mp4 m4a f4a f4b AddType audio/ogg oga ogg # VIDEO AddType video/mp4 mp4 m4v f4v f4p AddType video/ogg ogv AddType video/webm webm AddType video/x-flv flv # OTHERS AddType application/octet-stream safariextz AddType application/x-chrome-extension crx AddType application/x-opera-extension oex AddType application/x-shockwave-flash swf AddType application/x-web-app-manifest+json webapp AddType application/x-xpinstall xpi AddType application/xml atom rdf rss xml AddType application/vnd.openxmlformats .docx .pptx .xlsx .xltx . xltm .dotx .potx .ppsx AddType text/cache-manifest appcache manifest AddType text/vtt vtt AddType text/x-component htc AddType text/x-vcard vcf AddType image/webp webp AddType image/x-icon ico Header set Cache-Control "max-age=2592000, public" Header set Cache-Control "max-age=604800, public" ServerSignature Off