Hi Jason,

Don't kow what is going on with Spike's site, and like you I couldn't find the friendlyURL area. But I did work out how to use friendly URLs on my own site.

Let me clarrify though... I was already using URLs like http://domain.com/index.cfm/pagename and I simply wanted to use http://domain.com/pagename instead.

And in the end it was quite easy. I just needed to do two things...

1) Add "ErrorDocument 404 /index.cfm" to the VirtualHost entry for the website in the Apache http.conf file.

2) In index.cfm I needed to examine the cgi variable 'request_uri' to get the url parameters I would normally expect to find after '/index.cfm/' in the 'path_info' cgi variable.

As far as I can tell Apache doesn't send a response code of 404 (but I'm still trying to confirm that) but it does log it in the error.log as:

"File does not exist: C:/webroot/domain.com/pagename"

What I'd like to see is a 'nolog' option on the ErrorDocument directive! But I think I can live with it...


Regards,

Brett
B)

Jason Sheedy wrote:
Hi Brett,
did you have any luck finding the friendlyURL area on spikes site? I've
tried http://www.spike.org.uk/go/friendly-urls, which I found at
daemonite, but it seems to just display spikes blog without any of the
parent layout/css. Doesn't look like that was a friendly url at least. ;P

Jason Sheedy
www.voice.com.au

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


-- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 f: +61 (0)8 9371-0470 m: +61 (0)414 371 047 e: [EMAIL PROTECTED] w: www.ehc.net.au

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

Reply via email to