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