marcy wrote:
> I noticed (what I think is) an odd server configuration with a hosting
> service that I've been trying out. Their system is Linux and the server
> is
> Apache. When I access a web page via my browser, I don't have to type the
> dot suffix for any of them. For example, if I have a file:
>
> www.mydomain.com/some_directory/hello-world.htm
>
> I can enter into my browser's address field:
>
> www.mydomain.com/some_directory/hello-world
>
> And the page will come up. Notice I did not type the dot htm.
>
> This is true for all other files as well. For example:
>
> www.mydomain.com/images/happy-face.jpg
>
> If I type the URL but don't type the dot jpg, the image file comes up
> anyway.
>
> This situation exists throughout the site. Is that a misconfigured server
> setup or is that some kind of enhanced setup do you think? I think it's
> odd, I've not seen this before. It's also true of cgi-bin scripts.
> Instead of, for instance:
>
> mydomain.com/cgi-bin/blogs/mt.cgi
>
> I can type it without the .cgi suffix and the script will still run. So
> I'm inclined to think it's an oversight in the Apache configuration (which
> I don't have access to) and simply misconfigured, but I'd appreciate
> anyone's opinion on this.
>
> TIA
It sounds as if a directive is enabled, such as mod_speling (sic.):
http://www.php-editors.com/apache_manual/mod/mod_speling.html
Unfortunately, with my hosts, such nice and useful directives are not
compiled into Apache so I get lots of 404's in my error logs.
Hope it helps,
Roy
--
Roy S. Schestowitz
http://Schestowitz.com
|
|