httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] URI file extensions / suffixes
Date Thu, 07 Feb 2008 04:20:24 GMT
On Feb 6, 2008 8:08 PM, David Crellin <david.crellin@uts.edu.au> wrote:
> Hi,
>
> Firstly I would like to apologise for sending what is probably
> considered a remedial question, however I have some web admins that are
> demanding resolution immediately, have looked around the web and as yet
> have not found a resolution.
>
> I'm running apache 1.3.23 in a Solaris 10 environment. The problem I am
> having is enforcing the use of extensions / suffixes in a given URL
> which is causing problems with search indexing carried out by a google
> appliance.
>
> I need to know how to force apache to require the filename extension eg.
> when the URL is in the format http://someaddress/foo I would rather a
> page not found than the return of foo.html. At first I thought this
> would be associated with mime.types however when I disable mime.types
> and MimeMagic I still have not joy. Other than that the only resolution
> I have found on the web seems to be associated with rewrites but surely
> there is an easier way.
>
> Thanks in advance for any clues on this one

Remove "Multiviews" from all your Options directives in httpd.conf.

By the way, 1.3.23 is ancient. You likely have security problems, among others.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message