[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sks-devel] RPoxy + port 80 -- Apache 2.4
From: |
John Clizbe |
Subject: |
[Sks-devel] RPoxy + port 80 -- Apache 2.4 |
Date: |
Thu, 26 Jul 2012 12:55:48 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.20pre) Gecko/20110606 Mnenhy/0.8.5 SeaMonkey/2.0.15pre |
I'm trying to get the headers to work correctly for Apache 2.4. I have Apache
listening on ports 80 & 11371. SKS is on port 11372
The vhost in httpd.conf is
<VirtualHost *:11371>
ServerName keyserver.gingerbear.net
ServerAdmin address@hidden
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:11372/
ProxyPassReverse / http://127.0.0.1:11372/
ProxyAddHeaders On
SetEnv proxy-nokeepalive 1
</VirtualHost>
checking with wget:
$ wget -S http://keyserver.gingerbear.net:11371
--12:46:44-- http://keyserver.gingerbear.net:11371/
=> `index.html.8'
Resolving keyserver.gingerbear.net... 173.175.199.93
Connecting to keyserver.gingerbear.net|173.175.199.93|:11371... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Thu, 26 Jul 2012 17:46:45 GMT
Server: sks_www/1.1.3+
Cache-Control: no-cache
Pragma: no-cache
Expires: 0
Content-length: 3827
Content-type: text/html; charset=UTF-8
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Length: 3,827 (3.7K) [text/html]
$ wget -S http://www.gingerbear.net
--12:53:49-- http://www.gingerbear.net/
=> `index.html.9'
Resolving www.gingerbear.net... 173.175.199.93
Connecting to www.gingerbear.net|173.175.199.93|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Thu, 26 Jul 2012 17:53:50 GMT
Server: Apache/2.4.2 (Unix)
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
ETag: "2c-3e9564c23b600"
Accept-Ranges: bytes
Content-Length: 44
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
Length: 44 [text/html]
Is there a way to get the proxied Server: header changed from sks-www?
- [Sks-devel] RPoxy + port 80 -- Apache 2.4,
John Clizbe <=