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

there is an file "index.html" at http://www.mysite.org/mypage and it loads
fine without the trailing "/"

There is also an "index.php" file under /mypage.


> ...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 ;-)



When I type in http://www.mysite.org, the browser appends a "/" in the
address bar when the page loads.

On another server, I have Squirrelmail running and can access that by typing
http://www.mysite.org/squirrelmail.  Same story, the browser appends a "/"
in the address bar when the page loads

But when I try type in http://www.mysite.org/mypage I get the error message.

Obviously, something is happening on the other server if I can type the
directory name without the trailing "/" and apache knows to look for the
index.php file in that directory.




____________________________________________________
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