makss87/goorozhanin/master/.htaccess - Htaccess File

makss87/goorozhanin/master/.htaccess

php_value display_errors 0
AddDefaultCharset windows-1251
Options -Indexes

#Order Deny,Allow
#Deny from All
#Allow from 192.168.0.
#Allow from 192.168.0.120
#Allow from 192.168.0.121
#Allow from 192.168.0.122
#Allow from 192.168.0.40
#Allow from 192.168.0.15
#Allow from 192.168.0.163
#Allow from 90.156.201.11
#Allow from 90.156.201.31
#Allow from 90.156.201.90
#Allow from 90.156.201.113
#Allow from 90.156.201.81

RewriteEngine On
RewriteBase /
RewriteRule ^.htaccess$ - [F]
RewriteCond %{REQUEST_URI} !=/server-status
RewriteCond %{REQUEST_URI} !.(jpg|jpeg|ico|gif|png|css|xml|js|pl|txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !^/admin
RewriteCond %{REQUEST_FILENAME} !^/migrate
RewriteCond %{REQUEST_FILENAME} !^/install
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php [L]

FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch ".(jpg|jpeg|gif|png|ico|css|js)$">
ExpiresActive on
ExpiresDefault "access plus 1 month"
</filesmatch>
</ifmodule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache