aliaspooryorik/cfdocs/master/.htaccess - Htaccess File

aliaspooryorik/cfdocs/master/.htaccess

RewriteEngine On
RewriteBase /

RewriteRule ^tag-summary$ http://cfdocs.org/tags [R=301,L]
RewriteRule ^t$ http://cfdocs.org/tags [R=301,L]
RewriteRule ^f$ http://cfdocs.org/functions [R=301,L]
RewriteRule ^cfeclipse / [R=301,L]
#rewrite uppercase to lowercase
RewriteRule ^([^./]*[A-Z][^./]+)$ /ucase.cfm?uri=$1 [L]
#send to doc page
RewriteRule ^([^./]+)$ /doc.cfm?name=$1 [L]
ErrorDocument 404 /404.cfm

#block access to some urls
RedirectMatch 403 (?i).git
RedirectMatch 403 (?i)views/
RedirectMatch 403 (?i)CFIDE/

On Github License

Files

Download PDF of Htaccess file

Comments

Apache