Weird behavior of Apache HTTP Server

10 views
Skip to first unread message

Comex

unread,
Mar 6, 2003, 1:34:36 PM3/6/03
to
I use Apache 2.0.44 on a personal computer (with XP Home and PHP). It runs
on ports 1, 2, and 8080 (because 80 is blocked).

This is from httpd.conf:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .htm
AddType application/x-httpd-php .html
AddType application/x-httpd-php .asp

It's probably bad practice for the server to PHP-ize all of the types, but
it's worth it if I decide that a page that is already called index.htm and
linked that way should have PHP.

Anyway, what happens is that a browser viewing a .htm, .html, or .php (I
don't have .asp pages) page will download it (without asking permission) and
open it in a new window. Not only is this annoying, links and stylesheets
don't work.

The reason I think it is that is that I have a page that, during
construction, got named "welcome.htm2" and it works perfectly.

Any idea what's going on?
--
1.41421356237309504880168872420969807856967187537694


Reply all
Reply to author
Forward
0 new messages