Weird behavior of Apache HTTP Server

Weird behavior of Apache HTTP Server

Post by Come » Sat, 08 Mar 2003 03:34:36



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

 
 
 

1. Apache Proxy server that will transform an HTTP request in a HTTPS request

Hello,

I'm looking for a software solution that can receive an HTTP request
and forwarding or proxying it in HTTPS.

For example : An application that makes https request but that can't
make https, will go through an Apache proxy that will encrypt the HTTP
request for the application and forward the request to the secure site
that will reply the same way.

 _____________              __________              ________
|             |            |          |            |        |
| Application | - HTTP --> | Apache   | - HTTPS -->| Secure |
|             |            | Proxy (?)|            | Site   |  
|_____________|            |__________|            |________|

IT's a bit like a SSL accelerator but working on the opposite way.

Is it possible with Apache ? How is it possible ? mod_ssl + mod_proxy
?

Thank you for your help.

Gilles.

2. HTTPD access - what is this ?

3. How to add a http header using .htaccess for apache http server under windows environment

4. mouse via a parallel port?

5. apache-ssl: how to setup two versions of server, http:// and https:// ?

6. Using DIP with a Dynamic Server - HELP !!!

7. apache http proxy - http/1.0 vs http/1.1

8. nautilus-mozilla

9. : Weird ">" redirect behavior vs. ">>" redirect behavior

10. Weird behaviour in suexec (apache 1.2b1)

11. weird behavior with apache access log file and reverse lookups

12. using http://server/username instead of http://server/~username

13. SSL Proxy from Apache server to another HTTP server..