lairdshaw/fups/master/output/.htaccess - Htaccess File


Options -Indexes

# For some versions/configurations, this will prevent Apache
# from executing .php files; instead it will output them, as we desire.
<IfModule mod_php5.c>
    php_flag engine off

# One of these will do the same for other versions/configurations.
RemoveType .php
RemoveHandler .php

# Add mime types for downloadable files.
AddType application/x-php .php
AddType application/vnd.php.serialized .php_serialised
AddType application/json .json

# We don't want to set the character set in HTTP because it differs between forums.
# Instead, we set it in HTML via the content-type meta head element.
RemoveCharset .html

On Github License


Download PDF of Htaccess file