Re: How to show a html file without providing the .html extension in the URL?

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

 



> I need to display html pages without providing the .html extension in the
> URL?

> To illustrate:  I have a file <DocumentRoot>/readme.html.

> I want to access it as http://192.168.0.100/readme

This may be browser dependent, but with Internet Explorer you don't need an
extension to tell it what the file is. Just drop the .html extension from the
file. A properly formatted HTML file will identify itself when the browser opens
the file. I don't have any other browsers installed to test it, but I bet it
will work with other browsers, as well. Can't hurt to try it.
-- 
Crash
Running: Windows 2000 Pro - IIS 5 - Apache 2.2.4 - PHP 5.2.1 - Perl 5.8.8
Reply to group only. E-mail is blocked.




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