ok,

The NetBOIS name of the machine may be the problem.

The FriendlyURLServlet uses the HttpServletRequest's getServerName() method to determine the domain name that the server is using. It could be that that is different to your netbois name.

You should be able to check that by running the following code:

<cfoutput>#getPageContext().getRequest().getHttpRequest().getServerName()#</cfoutput>

I can shoot you a version of the servlet that has some debug code that you can turn off and on with an init parameter in web.xml if that still doesn't solve the problem.

Spike

Jeff Coughlin wrote:

Spike wrote:

1. Make sure that jrun.xml is set up with the same fu pattern as the config settings in the farcry admin area. i.e. make sure it's "/go" or "/fu" or whatever you're using


check

2. Make sure that the each of the entries in the text file look something like this:
dev.coldron.com/go/about=/index.cfm?objectid\=1B032816-9B4B-378F-407C4C5B98C852E7



check

---------

Everything looks okay (I had it working at one point and kept the .txt file. Its very similar to this one). The only thing I think I should point out are my settings:

1. In web.xml my I have:
 <servlet>
   <servlet-name>FUServlet</servlet-name>
   <display-name>FriendlyUrlServlet</display-name>
   <description>Translates friendly URLs to objects</description>
   <servlet-class>FriendlyURLServlet</servlet-class>
 </servlet>

 <servlet-mapping>
   <servlet-name>FUServlet</servlet-name>
   <url-pattern>/go/*</url-pattern>
 </servlet-mapping>

2. In Farcry I have the following:
 DOMAINS = "netBIOSName/virtualDir"
 SESURLS = "yes" (I have no clue what this does)
 SUFFIX = "" (no idea what this is for)
 URLPATTERN = "/go/"

Can the URL pattern be a problem since they are different in 1 & 2 above?

-Jeff C.



--

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to