Bug#309721: libapache-configfile-perl: Fails parsing ServerAlias entry withtrailing \ for continue to next line

Gunnar Wolf Gunnar Wolf <gwolf@gwolf.org>, 309721@bugs.debian.org
Thu, 19 May 2005 10:40:00 -0500


Hi,

I am sorry, I cannot see what is wrong in the second example you send:
You have the configuration entry:

SSLCertificateKeyFile /etc/apache/ssl/FREESSL.webinc.linkinnovations.com.npkey

And the module gets this as the value:

/etc/apache/ssl/FREESSL.holly.linkinnovations.com.npkey 

I think that here it is referring to another part of the
configuration, as 'webinc' was changed to 'holly' (and both are valid
hostnames in your organization)... Are you sure you are referring to
_that_ spot of the configuration?

About your patch: Yes, it would end up with a simpler regex... But I
am not sure it would make much difference. Please tell me - If this
patch fixes your parsing of the config file, where is the module
taking the other chain from?

Please send me your Apache config in order to be able to reproduce the
problem. 

Regarding the main topic of this bug report: Confirmed, using '\' to
continue a line break. Find here the patch for it - I'll just check it
a bit and upload.

Greetings,

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)1451-2244 / 5623-0154
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF