>Number: 2572 >Category: general >Synopsis: dialup ip, multiple (virtual) hostnames - requests & errors >sent to wrong logfile >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jul 8 12:30:00 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.0 >Environment: Linux 3.0.34 / gcc v2.7.2.3 / no patches to apache >Description: this affects logging (and tracking & statistics that rely on httpd logs) for dialup systems running v1.2.6 or higher with virtual hosts on a dialup link..
i previously submitted a report (PR# 2397), i would've submitted this under that pr# but i lost the copy of that email on my system.. ;) basically, everything works fine until my system redials it's ppp connection and is assigned a different ip.. i'm using two hostnames via ml.org, known to apache as two virtual hosts, plus two intranet addresses, also known to apache as virtual hosts.. all vhosts have their own logfiles and are name-based virtual hosts. nowhere in the apache config files have i specified any ips.. so after my system redials (and now has a different ip), all requests and errors are logged to apache's main logfiles, instead of to separate logfiles for each respective vhost as i've configured.. restarting apache takes care of this.. i started having this problem with v1.2.6, v1.2.5/1.2.4 never had this problem.. i guess i could just have pppd restart the server everytime the machine redialed it's dialup, but i'd rather not do that since the ppp-on/ppp-off scripts method seems a bit flakey to me.. ;) >How-To-Repeat: configure apache with a few name-based vhosts, then change the ip of the device requests for those vhosts come in from.. all requests & errors should go to apache's main logfiles instead of the vhosts' respective logfiles.. >Fix: i dunno, i can't code.. ;) maybe have a 'vhost-name'/'vhost-ip' option somewhere that would have apache depend on hostnames only or ips only.. =) what changed between 1.2.5 and 1.2.6 in terms of vhost logging? :) >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]
