This is a configuration issue with Apache. It stems from the fact that your
web server local ip address and name are different than your firewall ip
address and dns name.

Here's the faq:

Why does accessing directories only work when I include the trailing "/"
(e.g., http://foo.domain.com/~user/) but not when I omit it (e.g.,
http://foo.domain.com/~user)?
When you access a directory without a trailing "/", Apache needs to send
what is called a redirect to the client to tell it to add the trailing
slash. If it did not do so, relative URLs would not work properly. When it
sends the redirect, it needs to know the name of the server so that it can
include it in the redirect. There are two ways for Apache to find this out;
either it can guess, or you can tell it. If your DNS is configured
correctly, it can normally guess without any problems. If it is not,
however, then you need to tell it.

Add a ServerName directive to the config file to tell it what the domain
name of the server is.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of CM Hood
Sent: Thursday, December 19, 2002 5:20 PM
To: [EMAIL PROTECTED]
Subject: [leaf-user] Why does Web Server calls need an extra "/"


Why do directory listing calls to the web server fail when not ending in
"/" when routed through the fire wall?  The same calls by computers
behind the the firewall (not routed through the firewall) are handled
without error.

The directory listings are self created by the web server (xitami) so I
cannot just edit all my web pages to add the extra "/".

This only just now came up because I recently created a Bearing v1.0
firewall/router to permit moving my web server "behind" the firewall
rather than be "in" the firewall.  The firewall software used then the
web server was in the firewall was the same "Shorewall' system.

This seams like a "Shorewall" question rather than a "Bering" item but
Shorewall recommends that these questions start here.

Has anyone else noticed this?  Is there something I should try to make
the problem go away?

Cliff



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to