Simple config question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Simple config question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Simple config question  
Danny Boy


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-09-07 06: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





[ Post a follow-up to this message ]



    Re: Simple config question  
sean dreilinger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-10-07 12:21 AM

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 c
heck
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/





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register