Htaccess File

sigmaprojects/checkup/master/.htaccess

REMOTE_ADDR, REQUEST_FILENAME, REQUEST_URI
RewriteEngine on

#Secure Railo endpoints
RewriteCond %{REMOTE_ADDR} !^192.168.1..*
RewriteRule ^/railo-context/admin/(.*) - [F]

RewriteCond %{REMOTE_ADDR} !^192.168.!..*
RewriteRule ^/securelocation/(.*) /railo-context/admin/$1 [PT]

# 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]
Exit mobile version