Re: URI file extensions / suffixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 6, 2008 8:08 PM, David Crellin <david.crellin@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux