felipebagetti/robin/master/.htaccess - Htaccess File

felipebagetti/robin/master/.htaccess

AddDefaultCharset iso8859-1

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|css|jpe?g|png|swf|svg|gif|woff|ico|eot|ttf)$ index.php

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule fenix/img/([A-Za-z0-9_/.-]+)$ app/fenix/view/img/$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule fenix/([A-Za-z0-9_/.-]+).([a-zA-Z]+)$ app/fenix/view/$2/$1.$2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([A-Za-z0-9]+)/img/([A-Za-z0-9_/.-]+)$ app/modules/$1/view/img/$2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([A-Za-z0-9]+)/([A-Za-z0-9_/.-]+).([a-zA-Z]+)$ app/modules/$1/view/$3/$2.$3 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([A-Za-z0-9_/.-]+)([a-zA-Z]+)$ tmp.php [L]

RewriteCond %{REQUEST_URI} !monitor.php [NC]
RewriteCond %{THE_REQUEST} .php[ /?].*HTTP/ [NC] 
RewriteRule ^.*$ - [R=404,L]

<FilesMatch ".(js|css|jpe?g|png|swf|svg|gif|woff|ico|eot|ttf)$">
    Header set Cache-Control "max-age=62208000, public"
</FilesMatch>

php_flag magic_quotes_gpc off

php_value date.timezone "America/Recife"
php_value session.auto_start 0
php_value session.hash_function "ripemd320"
php_value memory_limit 64M
php_value upload_max_filesize 10000M
php_value post_max_size 10000M
php_value max_execution_time 60
php_value max_input_time 60

Options -Indexes

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI, THE_REQUEST

Comments

Apache