Gossamer Forum
Home : Products : Links 2.0 : Discussions :

link problem

Quote Reply
link problem
hi, when links creates links like
http://secureserver.selfhost.com/link/pages/New I get a 404 error if however i add a / to the end ie
http://secureserver.selfhost.com/link/pages/New/ then it finds the page. Unfortunatly its doing this on virtualy every link how can I get round this.
BTW im running on my own win 2000 server (localhost) with apache.


Quote Reply
Re: link problem In reply to
Try adding this to the apache conf.....

RewriteEngine on
RewriteBase /ROOTDIRNAME/
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(. [^/])$ $1/ [R]




Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/
Quote Reply
Re: link problem In reply to
I cut & pasted that and still getting the same problem.
Did i need to change the ROOTDIRNAME to my server, or is that the command.
Im running windows server if that was a unix command.

Quote Reply
Re: link problem In reply to
Yes you need to change it to your root directory name.

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/