New answers tagged

0

This is an old question, but it's on the first page when I search for a solution to access control for Apache when using ProxyPass and ProxyPassMatch. So it may help someone else who started here instead of Apache's docs. The solution is to include a section below the Proxy declarations: <Proxy "*"> Require ip 192.168 Require host example.com <...


0

Please try this : it worked for me Another example of how to provide load balancing with stickyness using mod_headers, even if the back-end server does not set a suitable session cookie: Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED BalancerMember "http://192.168.1.50:80" route=1 BalancerMember "http:/...


0

the correct code is : AddOutputFilterByType SUBSTITUTE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json Substitute "s|https:\/\/localserver:9251|https:\/\/publicnameserver:9251|ni" with mod substitute I have replaced the localserver with publicnameserver. thanks for your help.


0

found it !!! I have added the substtute mod to modify the server response and it's work !!!!! commande added: AddOutputFilterByType SUBSTITUTE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json Substitute "s|https:\/\/localserver:9251|https:\/\/publichostname:9251|ni" thanks for your helps !!!!


Top 50 recent answers are included