rogeriopvl/phest/master/.htaccess - Htaccess File

rogeriopvl/phest/master/.htaccess

#############################
# rest9 HTACCESS FILE
# If you don't understand
# what's going on here, better
# not touch.
#############################

#############################
# Routing
#############################
RewriteEngine on
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?uri=/$1

#############################
# Security
#############################
<Files cgi-bin>
 Order Allow,Deny
 Deny from all
</Files>

<FilesMatch ".(htaccess|htpasswd|ini|phps|fla|inc.php|class.php)$">
 Order Allow,Deny
 Deny from all
</FilesMatch>

IndexIgnore *

LimitRequestBody 10240000

AddType application/x-httpd-php html

<ifmodule mod_php4.c>
 php_flag magic_quotes_gpc off
</ifmodule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache