Apache Server configuration support - Simple config question

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > July 2007 > Simple config question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Simple config question
Danny Boy

2007-07-09, 1:29 pm

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
sean dreilinger

2007-07-09, 7:21 pm

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/mo...#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/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com