RewriteRules with ajp and secret

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there.

I am running apache 2.4.43 with a tomcat 7.0.103 as backend server.

I have tried to implement proxy configuration to tomcat backend with ajp and secret.

It works fine when using ProxyPass or BalancerMemeber, just like documented at https://httpd.apache.org/docs/trunk/mod/mod_proxy_ajp.html:

The secret is sent when the secret=secret_keyword parameter is used in ProxyPass or BalancerMember directives. The backend needs to support secret and the values must match. request.secret or requiredSecret are documented in the AJP configuration of the Apache Tomcat.

 

But there are several context based RewriteRules like this:

RewriteRule (.*) ajp://IP:PORT$1 [QSA,P,L]

I haven’t found any solution to get secret parameter passed in RewriteRules.

I have tried this one:

        RewriteRule (.*) ajp:// IP:PORT$1?secret=my_secret

This isn´t working and secrets value should not appear in tomcat access logfile.

Is there any solution for RewriteRules with ajp and secret?

Mit freundlichen Grüßen
Christian Unnering

DEUTSCHE TELEKOM IT GMBH
Digital Transformation and Operations Telekom IT

Central Operation Services

Team COS 3
Telefon: (0521) 92 15-54 29
Telefax: (0521) 92 15-57 99

Email: christian.unnering@xxxxxxxxxxxxx
Internet:
http://www.t-systems.de

 

Die gesetzlichen Pflichtangaben finden Sie unter:
https://www.telekom.com/pflichtangaben-dtit

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux