AlloVince/eva-engine/master/public/.htaccess - Htaccess File

AlloVince/eva-engine/master/public/.htaccess

SetEnv APPLICATION_ENV development

RewriteEngine On

#-------static cache start 
#RewriteCond %{REQUEST_METHOD} GET
#RewriteCond %{REQUEST_URI} =/
#RewriteCond %{DOCUMENT_ROOT}/static/cache/index.html -f
#RewriteRule .* static/cache/index.html [L]

#RewriteCond %{REQUEST_METHOD} GET
#RewriteCond %{DOCUMENT_ROOT}/static/cache/%{REQUEST_URI}.html -f
#RewriteRule .* static/cache/%{REQUEST_URI}.html [L]
#-------static cache end

RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, ENV, GET, REQUEST_FILENAME, REQUEST_METHOD, REQUEST_URI, static

Comments

Apache