hcaz/hcazshort-domain/master/.htaccess - Htaccess File

hcaz/hcazshort-domain/master/.htaccess

Options -Multiviews
Options -Indexes
Options +ExecCGI
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/javascript
RewriteEngine On
RewriteRule .(css|js|jpg|png|gif)$ - [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule (.*) - [L]
RewriteRule ^([^/]*)/([^/]*)$ /?slug=$1&action=$2 [L,QSA]
RewriteRule ^([^/]*)$ /?slug=$1 [L,QSA]

On Github License

Files

Download PDF of Htaccess file
DEFLATE, REQUEST_FILENAME

Comments

Apache