On Thursday 09 September 2004 18:31, JoeHill wrote:
> On Thu, 9 Sep 2004 18:19:03 -0400
>
> JoeHill disseminated the following:
> > > Does anyone happen to know what needs to be configured in Apache so
> > > that the trailing "/" doesn't need to be in a URL in order for the page
> > > to load?
> > >
> > > currently, if I type in http://www.mysite.org/mypage, I get an error
> > > message saying that I don't have access to /mypage.
> > >
> > > If I type in http://www.mysite.org/mypage/ the page loads just fine.
> > >
> > > Any ideas on how to fix this?
> >
> > You need to have a default page to load, probably. Should be called
> > 'index.html', off the root of the server, ie. /var/www/html/index.html
> > (or .php or whatever).
>
> ...sorry, not off the root of the server...me not reading good :-\
>
> The thing is, http://www.mysite.org/mypage is looking for a page to load
> called 'mypage', which of course does not exist, it's a directory. Loading
> www.mysite.org automagically looks for 'index.html' or the like, but as
> soon as you add a dir off the root, you need to add that trailing /. I'm
> not sure this is something to be 'fixed', I believe it is normal behaviour.
>
> Blast me to hell if I am wrong ;-)
Read about trailing slash at 
http://httpd.apache.org/docs-2.0/mod/mod_dir.html.en#directoryslash


-- 
Yankl
Tiny IT guy.
100 % Micro$oft free.
Registered linux users 181086
URL: http://yankele.com
-----------------------
To mess up a Linux box, you need to work at it; to mess up your Windows
box, you just need to work on it.

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to