Simple config question

Simple config question

am 09.07.2007 19:19:58 von Danny Boy

Hi,

A friend has apache. But when typing an URL to a directory on his server
without the ending slash, all kind of strange things happens. It's not
as normal sites where you're redirected to the directory even if you
don't type the slash.

I.e.: http://thesite.com/directory makes the server kick back, but
http://thesite.com/directory/ (with the ending slash) is fine. Where in
httpd.config can he make the former URL work as the latter?

TIA
Danny

Re: Simple config question

am 09.07.2007 22:33:29 von sean dreilinger

Danny Boy wrote:
> A friend has apache. But when typing an URL to a directory on his server
> without the ending slash, all kind of strange things happens. It's not

if they're using apache 2.x, they should make sure mod_dir is enabled, and check
the DirectorySlash directive:

http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directorys lash

if they're using apache 1.x, they should make sure mod_dir is enabled:

http://httpd.apache.org/docs/1.3/mod/mod_dir.html

--sean

--
sean dreilinger - http://durak.org/sean/