sigmaprojects/spamcheck/master/.htaccess
RewriteEngine on
redirect 301 /filename.cfm http://google.com
redirect 301 /filename.html http://google.com
# Bypass call related to adminstrators or non rewrite folders, you can add more here.
RewriteCond %{REQUEST_URI} ^/(.*(CFIDE|cfide|CFFormGateway|jrunscripts|railo-context|mapping-tag|fckeditor)).*$
RewriteRule ^(.*)$ - [NC,L]
# Bypass flash / flex communication / REST (railo)
RewriteCond %{REQUEST_URI} ^/(.*(flashservices|flex2gateway|flex-remoting|rest)).*$
RewriteRule ^(.*)$ - [NC,L]
# Bypass images, css, javascript and docs, add your own extensions if needed.
RewriteCond %{REQUEST_URI} .(bmp|gif|jpe?g|png|css|js|txt|pdf|doc|xls|ico)$
RewriteRule ^(.*)$ - [NC,L]
# The ColdBox index.cfm/{path_info} rules.
RewriteRule ^$ index.cfm [QSA,NS]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.cfm/%{REQUEST_URI} [QSA,L,NS]
RewriteRule ^(.+.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2 [P]
On Github License
Files