Apache trailing slash - was web server permissions

Jay O'Brien jayobrien at att.net
Sun Dec 26 00:37:30 PST 2004


Jay O'Brien wrote:

>  changing the links to add a trailing / "fixed" the 
> problem, and if I didn't want to use existing web pages with shortened 
> relative links without the trailing / character, it wouldn't be a 
> problem. 
> 
> I would like to understand what is causing this to work the way it is.
> 

I now understand it is either an Apache problem, perhaps 
related to the fact I'm using an IP number as ServerName, 
not a URL, and perhaps related to the fact that I'm behind 
a NAT firewall (linksys router) that passes port 80 to my 
FreeBSD machine on 192.168.1.9. 

What's happening is that the client on the internet is being 
redirected to the 192.168.1.9 address, not to the IP number 
in the ServerName line in httpd.conf. That works fine on my 
LAN, but not out on the internet.

Google returns hundreds of answers for apache "trailing slash", 
and I'm following up.

Any ideas would be appreciated, but as this is clearly not 
a FreeBSD problem, I'll drop the issue here until I find a 
solution.

Jay 





More information about the freebsd-questions mailing list