Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
##### APACHE VERSION
RewriteEngine On
RewriteCond %{REQUEST_URI} !(/farcry|/webtop|/flex2gateway|/flashservices)
RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*\!\@\#\$\ \(\)\^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA]

For IIS you will need to install an ISAPI Rewrite dll and use the following redirect

Code Block
 ########## IIS VERSION
#RewriteCondRewriteCond %{QUERY_STRING} ^(.*)$
#RewriteRule
RewriteCond %{REQUEST_URI} !(/farcry|/webtop|/flex2gateway|/flashservices)
RewriteRule ^(.*)$ /index.cfm?furl=$1&%1
Info

This essentially redirects to the index.cfm any url without a "." in it (ie, index.cfm, main.css, fotm.js) and not under the folders specified in the exception (/farcry, /webtop, /flex2gateway, /flashservices).

For Example

...