[EMAIL PROTECTED] Proxy on port 80 and 443

2005-11-04 Thread Khoa Nguyen
I am trying to configure apache 2.0 as a forward proxy server for both port 80 and 443. Below is my config: AllowCONNECT 80 443     Order deny,allow     Deny from all     Allow from 172.16 10 NameVirtualHost *:80 NameVitualHost *:443    bla bla bla    bla bla bla Probl

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
Thank you. That does the trick quite nicely! KhoaOn 8/18/05, Ivan Barrera A. <[EMAIL PROTECTED]> wrote: Khoa Nguyen wrote:> Thanks for your quick response. I have tried to configure two name-based> virtual hosts on my server machine: server5.com < http://server5.com> and&

Re: [EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
ve message (e.g. 404 Not Found) back to the client if the Host: field value is not configured on the server as a virtual host? Thanks, Khoa On 8/18/05, Ivan Barrera A. <[EMAIL PROTECTED]> wrote: Khoa Nguyen wrote:> Hi,>> I don't quite understand the use of the Host: header f

[EMAIL PROTECTED] Host header field: How is it enforced or not at all?

2005-08-18 Thread Khoa Nguyen
Hi, I don't quite understand the use of the Host: header field in HTTP 1.1 request. For example, I wrote a simple script to connect to www.google.com on port 80. After the connection, I send the following GET request: GET / HTTP/1.1 Host: whatever.com ... The web server doesn't seem to care what