Simple config question

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, ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-09-2007
Danny Boy
 
Posts: n/a
Default Simple config question

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
  #2 (permalink)  
Old 07-09-2007
sean dreilinger
 
Posts: n/a
Default Re: Simple config question

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/
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0