You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "\"Crash\" Dummy" <gm...@thedatalist.com> on 2007/08/14 15:09:53 UTC
[users@httpd] Re: How to show a html file without providing the .html extension in the URL?
> 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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org