Package: vlogger
Version: 1.3-3
Severity: normal

Hi,

I have virtual hosts defined in lighttpd (using mod_simplevhost), eg. 
stats.example.com

As I want to force accesses to this subdomain to be secured through SSL, I have 
the
following configuration:
$HTTP["host"] == "stats.example.com" {
  $HTTP["scheme"] == "http" {
    url.redirect = ( "^/(.*)" => "https://stats.example.org/$1"; )
  }
}

When accessing http://stats.example.org, the redirection works fine.

However, vlogger logs the inital connections in /path/to/logs/-/ not in
 /path/to/logs/stats.example.org
The following accesses (https..) are correctly logged.

When looking in /path/to/logs/-/access.log, the correct vhost appears in the 
log:
xx.xx.xx.xxx stats.example.org - [19/Nov/2008:20:56:33 +0100] "GET / HTTP/1.1" 
301 0 "-" "Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.3) Gecko/2008092814 
Iceweasel/3.0.3 (Debian-3.0.3-3)"

It does happen with all the virtual hosts which need this kind of redirection.
If I remove the redirection, both HTTP and HTTPS access are correctly logged

Cheers,
Julien


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to