This is a discussion on Simple config question within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, A friend has apache. But when typing an URL to a directory on his server without the ending slash, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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...directoryslash 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/ |