[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] mod_ajp: adding "secret=xxx" parameter to config yields syntax error
From:       Rainer Jung <rainer.jung () kippdata ! de>
Date:       2020-02-21 21:39:49
Message-ID: 56fa7ada-50bf-a7e6-a320-ac52861c49a9 () kippdata ! de
[Download RAW message or body]

Am 13.02.2020 um 19:29 schrieb Mark H. Wood:
> HTTPD 2.4.41
> 
> I'm trying to set up authenticated proxying between HTTPD and Tomcat.
> I have, for example:
> 
>    ProxyPass "/host-manager/" \
>              "ajp://[::1]:8009/host-manager/" \
>              secret="secret"
> 
> When I run configtest, the result is:
>   * apache2 has detected an error in your setup:
> AH00526: Syntax error on line 101 of /etc/apache2/vhosts.d/default_vhost.include:
> ProxyPass unknown Worker parameter
> 
> Line 101 is the one with the 'secret' keyword.  If I un-fold the
> directive to a single line, the same error is called against line 99
> (the same ProxyPass directive).  The directive was previously working
> before I added the 'secret' parameter.
> 
> What am I missing?

The feature was added in r1738878 (BZ53098) to httpd trunk and is not 
yet backported to 2.4.x.

Due to recent default config changes in Tomcat it would make sense to 
backport now.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic