cygri/prefix.cc/master/.htaccess - Htaccess File

cygri/prefix.cc/master/.htaccess

Header set Access-Control-Allow-Origin "*"
RewriteEngine On
RewriteBase /

# Remove initial www. from host name
RewriteCond %{HTTP_HOST} ^www.(.+)$
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteRule ^jquery.js$ vendor/jquery/jquery.js
RewriteRule ^zeroclipboard.(w+)$ vendor/zeroclipboard/zeroclipboard.$1
RewriteCond %{REQUEST_URI} !/(phpinfo.php|robots.txt|style.css|.*.js|.*.swf|images/.*)$
#RewriteRule .* maintenance.php [L]
RewriteRule .* index.php

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_URI

Comments

Apache