LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
[stats]
From: John Edwards <isplist@adam.com.au>
To : Alan Kennington <akenning@topology.org>
LinuxSA <linuxsa@linuxsa.org.au>
Date: Mon, 28 May 2001 18:47:08 +0930
Re: Apache question
>An even mroe worrying thing is that if I have a file
>xyz.html and the client requests xyz, then the Apache server
>delivers xyz.html. This is very peculiar, and despite some effort to locate
>how to turn this off, I still haven't found out how it is controlled.
You turn it on with "Options Multiviews"
It is used for content negotiation (ie: multiple language websites) which is
compiled into Apache by default.
It's handy for producing dynamic content that you want search engines to
index (by using PATH_INFO instead of QUERY_STRING), especially if you don't
have enough access to configure a forcetype directive.
>But it would also nice to be able to reject a request to
>http://www.xyz.com/ returning my "/" URL.
Setup a named virtual host for your hostname, with no default website, or
make the default web site return the desired error message and code.
John Edwards
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
[stats]
Return to the LinuxSA Mailing List Information Page