On Jul 8, 2009, at 10:14 AM, Adam Lynch wrote: > I cannot seem to get Friendly URLs to work correctly with the > subdirectory installation method. Here is what is really wierd, if I > go to http://localhost/pingFU it respondes like it should in a > standalone install, but if I go to http://localhost/<projectname>/ > pingFU > I just get the project's homepage. It makes me think something is > wrong with the rewrite regex but I cannot figure it out. Here is what > I am using: > > RewriteEngine On > RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gateway|^/ > flashservices|^/cfide)($|/) > RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\;\<\>\?\,\*...@\#\$\ \(\) > \^_`~]*)$ /<projectname>/index.cfm?furl=$1 [L,PT,QSA] > > Any thoughts on what might be going wrong?
Yup, it's your regex config. Go to the Friendly URL docs page and use the config under "Sub-directory Config" as a starting point. (scroll just past "Option C" and you'll find it). http://docs.farcrycms.org/display/FCDEV50/Friendly+URLs -- Jeff Coughlin Web Application Developer http://jeffcoughlin.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
