If I assign $Listen directive in two different <Perl> blocks of
configuration file, the startup will fail.

For example :

% cat files/new.conf
ServerRoot "/home/pvnaik/lab/mp2"
Timeout 300
DocumentRoot "/home/pvnaik/lab/mp2/htdocs"
ErrorLog logs/error_log
PerlLoadModule Apache2

<Perl>
$Listen = 44901;
</Perl>

<Perl>
$Listen = 44901;
</Perl>

% ~/lab/mp2/bin/httpd -X -f ~/lab/files/new.conf
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44901
no listening sockets available, shutting down
Unable to open logs

It's very easy to reproduce. Any pointers on how to solve it. I'd be
interested in writing the patch.

Thanks,
Pratik

-- 
http://pratik.syslock.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to