zimovchanin/framework/master/.htaccess - Htaccess File

zimovchanin/framework/master/.htaccess

AddType application/x-httpd-php .php
DirectoryIndex index.php
Options -Indexes

AddDefaultCharset UTF-8

php_flag magic_quotes_gpc off
php_flag display_errors on

<ifModule mod_rewrite.c>
RewriteEngine On

##RewriteCond %{HTTP_HOST} ^([a-zA-Z]+.)?.ru 
##RewriteRule ^(.*) index.php?name=%1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ /index.php?REQUEST_URI=$1 [L,QSA]
</ifModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, REQUEST_URI

Comments

Apache