imageboards/trillium/master/.htaccess - Htaccess File

imageboards/trillium/master/.htaccess

Options -Indexes
ErrorDocument 403 http://trillium/error/403
ErrorDocument 404 http://trillium/error/404
ErrorDocument 500 http://trillium/error/500
DirectoryIndex index.php

RemoveHandler .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py
AddType application/x-httpd-php-source .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py

php_flag display_errors 1
php_value error_reporting -1
php_value register_globals 0
php_flag session.use_trans_sid off
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value allow_url_fopen 0
php_value arg_separator.output "&"
AddDefaultCharset UTF-8

RewriteEngine On
RewriteBase /

RewriteRule ^(?:configuration|controller|helper|i18n|lib|logs|model|trillium|view)b.* index.php/$0 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache