My installation is Debian based which has some apache 2.0.55-4 and
some modperl 2.0.2-2. Let me know if you need further details.

My configuration is nearly completely the default one and I have only
one <Perl> section which I keep in a separate file and which I
"Include" from the default apache2.conf.

This piece works:

    <Perl>
    $PerlConfig = "Alias /ping/ /tmp/ping/\n";
    </Perl>

    <IfModule mod_asis.c>
    </IfModule>

But the following doesn't:

    <Perl>
    $PerlConfig = "Alias /ping/ /tmp/ping/
    <IfModule mod_asis.c>
    </IfModule>
    ";
    </Perl>

The error message is:

Starting apache 2.0 web server...Syntax error on line 2 of 
/services/mobile/framework/etc/httpd2.conf:
$parms->add_config() has failed: Alias takes two arguments, a fakename and a 
realname at /usr/lib/perl5/Apache2/PerlSections.pm line 203.\n
 failed!


and apache2 refuses to start.


-- 
andreas

Reply via email to