Matt,

I have not set up a FarCry site using virtual directories for a very
long time, pre-V5, so the following may not have any effect. But ...
try setting
<cfset THIS.projectURL = "" />
to
<cfset THIS.projectURL = "your_virtual_directory" />
in /www/farcryConstructor.cfm

Then restart the FarCry app and rebuild the friendly urls.

Chris.

On Jan 28, 10:47 pm, Matthew Prose <[email protected]> wrote:
> I have figured out that the server is working properly now.  Farcry is  
> generating the wrong urls.  I typed in site.server.com/project/
> index.cfm?furl=/services/application-development/ and landed on the  
> correct page.  Great Success!
>
> So now I just have to figure out why farcry is messing up. For some  
> reason it is generating this FU: /-/services/application-development-/
> application-development
>
> I am going to keep documenting this as I go.
>
> Again this is farcry 5.1.6 running IIS7 with the built in url  
> rewrite.  Also with virtual directories for the project.
>
> Matt
>
> On Jan 28, 2010, at 4:36 PM, Matthew Prose wrote:
>
>
>
> > Alright, I changed this and same thing.  Every first level nav goes  
> > to the home page and every second level nav is 404.
>
> > This makes me think that farcry is not working properly.  The links  
> > being generated are correct, but its like the furl is not working. I  
> > am going to checkout farycry admin.
>
> > Matt
>
> > On Jan 28, 2010, at 4:24 PM, Tomek Kott wrote:
>
> >> Pattern is ^/projecty/([^/]+)/([^/]+)/?$
>
> >> Rewrite URL is: project/index.cfm?{R:1}={R:2}
>
> >> This seems odd... what you should be looking for is something like:
> >> ^/projecty/([^/]+)/?$
>
> >> rewriting to
>
> >> /projecty/index.cfm?furl={R:1}
>
> >> (Assuming {R:1} notation for II7 is saying take the first found  
> >> object between paranthesis and place it here).
>
> >> The value of the furl would be services/application-development.  
> >> FarCry then looks that string up in a table to see what object it  
> >> should actually show (i.e., translates it into an object id). None  
> >> of that, however, would be visible to the end user.
>
> >> Tomek
>
> >> On Thu, Jan 28, 2010 at 4:01 PM, Matthew Prose <[email protected]
> >> > wrote:
> >> Okay I have made some "progress"
>
> >> I can click a main nav link and it will resolve on the home page,  
> >> but if I click another level down (services/application-
> >> development) I get a 404.
>
> >> Pattern is ^/projecty/([^/]+)/([^/]+)/?$
>
> >> Rewrite URL is: project/index.cfm?{R:1}={R:2}
>
> >> This trigger anything for anyone?
>
> >> Also a question what is the value of the furl?  is it services/
> >> application-development, or is it the objectID?
>
> >> Matt
>
> >> On Jan 28, 2010, at 1:37 PM, Matthew Prose wrote:
>
> >> Okay good,  I still cannot get this working. I cannot get it to  
> >> ping with the /pingFU/
>
> >> I am thinking it has something to do with the virtual directory.
>
> >> I have farcry/coldfusion installed on C:/ drive and then IIS is on  
> >> D:/ drive.  I have virtual directories for the farcry/webtop/
> >> projects under the default site.  So I access the projects by  
> >> site.server.com/project/
>
> >> Would this be screwing up my configuration?  With this information  
> >> would you change the pattern? Maybe somehow include the project  
> >> subfolder in the pattern?
>
> >> Matt
>
> >> On Jan 28, 2010, at 11:40 AM, Chris Kent wrote:
>
> >> Matt,
>
> >> The urls that your code creates should be like a. e.g. /services/
> >> application-development/
>
> >> The mod_rewrite changes them to b. changing the path to a url
> >> parameter furl, e.g. index.cfm?furl=services/application-development
>
> >> It must also pass with any other url parameters.
>
> >> Chris.
>
> >> On Jan 28, 2:24 pm, Matthew Prose <[email protected]> wrote:
> >> Thanks for all your responses.
>
> >> I am running 5.1.6. Didnt realize until later that I was looking at
> >> the 3.0 docs...
>
> >>  I have a question before I try all your suggestions:
>
> >> 1. What should the url of my links be for my site?
> >>       a. /services/application-development/
> >>       b. ?furl=services&application-development
>
> >> Mine are setup like a.  Have I set up something wrong in farcry or is
> >> this how it is suppose to be?
>
> >> Thanks so much
>
> >> Matt
>
> >> On Jan 27, 2010, at 5:38 PM, Chris Kent wrote:
>
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <configuration>
> >>  <system.webServer>
> >>      <rewrite>
> >>          <rules>
> >>              <rule name="FarCry FURLs">
> >>                  <match url="^(.*)$" />
> >>                  <conditions>
> >>                      <add input="{URL}" negate="true" pattern="(.*
> >> \.cfm.*|.*\.css.*|.*\.js.*|.*\.gif.*|.*\.jpg.*|.*\.png.*|.*
> >> \.html.*)" /
>
> >>                      <add input="{URL}" negate="true" pattern="(^/
> >> wsimages|^/farcry|^/webtop|^/flex2gateway|^/flashservices|^/cfide)
> >> ($|/)" />
> >>                  </conditions>
> >>                  <action type="Rewrite" url="/index.cfm?furl=/{R:1}
> >> &amp;amp;{C:1}" />
> >>              </rule>
> >>          </rules>
> >>      </rewrite>
> >>  </system.webServer>
> >> </configuration>
>
> >> --
> >> 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
>
> >> --
> >> 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
>
> >> --
> >> 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

-- 
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

Reply via email to