Chris,

> I installed Helicon's ISAPI_ReWrite3 and using the IIS snapin, added
> the sample config.
>
> ...<snip>...
>
> reset IIS, restarted CF
>
> visited: http://www.mydomain/pingFU
>
> and it just repaints the home page.
>
> Ideas?

Try the following:

When inside the Helicon ISAPI ReWrite Manager GUI, wrap your config in  
a <VirtualHost> tag.  If that doesn't work, put the config in the root  
of the tree on the left (called IIS Web Sites) rather than in the  
individual site's htaccess config, and make sure to tell the VH tag  
which domain the config belongs to (very similar to Apache's VH tag).

Example:

#Separate domains/IPs with spaces inside the VirtualHost tag
<VirtualHost domain.com www.domain.com>
   RewriteEngine On
   RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gateway|^/ 
flashservices|^/cfide)($|/)
   RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*...@\#\$\ \(\) 
\^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA]
</VirtualHost>

You shouldn't have to restart CF or updateapp to get pingFU to work.   
It's "possible" you may have to restart IIS, but I think that is only  
required after you install ISAPI ReWrite for the first time (I believe  
you can make edits to the config at-will and once you hit "Apply" the  
result is instant).  Don't forget, once /pingFU is finally working,  
then run updateapp once to let FarCry pick up the new option.

Another cool thing to note is that you can have as many RewriteCond  
statements as you want (as long as they are before the RewriteRule).   
Just make sure to end them in ($|/).  Allowing the use of multiple  
RewriteCond statements makes it easier to read the config if you have  
many conditions.  I have a couple clients who use many custom products  
that run under virtual directories (products that might be written in  
ASP or PHP for example) and their lists get pretty long.  By having a  
few RewriteCond statements, it allows me to group the conditions in a  
manageable fashion - it works out quite well and their IT staff are  
able to add items as needed with little explanation.

Regards,

--
Jeff Coughlin
Web Application Developer
[email protected]
http://jeffcoughlin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to