Re: Time for 2.4.5 ??

2013-06-01 Thread Guenter Knauf

On 25.05.2013 05:46, Guenter Knauf wrote:

Found another small docu bug:

r:unescape(string) -- Unescapes an URL-escaped string:

local url = http%3a%2f%2ffoo.bar%2f1+2+3+%26+4+%2b+5
local unescaped = r:escape(url) -- returns 'http://foo.bar/1 2 3  4 + 5'

the function call should here be r:unescape(url) ...


another one missing from the docs:

r:construct_url(string) -- Constructs an URL from an URI

local url = r:construct_url(r.uri)


Gün.




why does Header set send lower case header names?

2013-06-01 Thread Reindl Harald
IfModule mod_headers.c
 Header set X-DNS-Prefetch-Control off
/IfModule

from the network:
x-dns-prefetch-control: off





signature.asc
Description: OpenPGP digital signature


Re: why does Header set send lower case header names?

2013-06-01 Thread Guenter Knauf

On 01.06.2013 16:39, Reindl Harald wrote:

IfModule mod_headers.c
  Header set X-DNS-Prefetch-Control off
/IfModule

from the network:
x-dns-prefetch-control: off

works for me - just tested on Win32 and NetWare with httpd-trunk:

curl -I http://localhost:8080
HTTP/1.1 200 OK
Date: Sat, 01 Jun 2013 18:34:27 GMT
Server: Apache/2.5.0-r1483348 (Win32) OpenSSL/1.0.1e mod_uptime/0.2.0 
mod_view/2.2

Accept-Ranges: bytes
X-DNS-Prefetch-Control: off
Content-Type: text/html

what version do you use, and on what OS? And with what software do you 
check? Have you tried f.e. curl as I did?


Günter.






Re: why does Header set send lower case header names?

2013-06-01 Thread Reindl Harald

Am 01.06.2013 20:37, schrieb Guenter Knauf:
 On 01.06.2013 16:39, Reindl Harald wrote:
 IfModule mod_headers.c
   Header set X-DNS-Prefetch-Control off
 /IfModule

 from the network:
 x-dns-prefetch-control: off
 works for me - just tested on Win32 and NetWare with httpd-trunk:
 
 curl -I http://localhost:8080
 HTTP/1.1 200 OK
 Date: Sat, 01 Jun 2013 18:34:27 GMT
 Server: Apache/2.5.0-r1483348 (Win32) OpenSSL/1.0.1e mod_uptime/0.2.0 
 mod_view/2.2
 Accept-Ranges: bytes
 X-DNS-Prefetch-Control: off
 Content-Type: text/html
 
 what version do you use, and on what OS? And with what software do you check? 
 Have you tried f.e. curl as I did?

httpd-2.4.4-34.fc18.20130525.rh.x86_64 (own build from source)
Fedora release 18 (Spherical Cow)
firefox-21.0-4.fc18.x86_64
http://livehttpheaders.mozdev.org/installation.html

*wow* seems like really livehttpheaders shows only this more or
less custromized/additional  header different from the truthr

sorry for the noise :-(

[harry@srv-rhsoft:~]$ curl -I http://localhost:80
HTTP/1.1 200 OK
Date: Sat, 01 Jun 2013 18:48:53 GMT
Server: sffe
P3P: CP=NOI DSP COR NID ADMa DEVa OUR NOR, policyref=/w3c/p3p.xml
Set-Cookie: LOUNGE_ID=GYebNhTYcKDuBv9AhLiYZvx2SW2; path=/; HttpOnly
Expires: Sat, 01 Jun 2013 18:49:53 GMT
Cache-Control: public, proxy-revalidate
Pragma: public, proxy-revalidate
Last-Modified: Tue, 03 Jul 2012 11:29:30 GMT
ETag: 4181860100
Vary: Accept-Encoding,User-Agent
X-DNS-Prefetch-Control: off
Connection: close
Content-Type: text/html



signature.asc
Description: OpenPGP digital signature