Re: How apache deals with file extensions

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

 



Robinson Craig wrote:
/wrp/mary.html

If someone types the following url into a browser:

http://www.nrw.qld.gov.au/wrp/mary (**i.e. no .html extension)

Then Apache can locate the page and successfully logs the entry like
(note the 302 status):

This is done by Multiviews if it's enabled (I think the default is enabled).

As there is no extension, how can apache know what mimetype the file is
and successfully respond?

Most of the time, getting the complete file name by Multiviews and then deciding wich file type is by using the mime extensions.

See the documentation for mod_negotiation and mod_mime

Davide

--
Windows NT source code now available... download WIN2000.BAS now!
   -- From a Slashdot.org post

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