Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Problem Configuration Apache |
|
Author |
|
wardguez2016
Joined: 27 Aug 2018 Posts: 1 Location: spain
|
Posted: Mon 27 Aug '18 13:21 Post subject: Problem Configuration Apache |
|
|
Good Morning,
I have a problem with the apache configuration.
I have two apache servers. One of them only does the balancer function and the other serves content.
On the first server I have this configuration:
JkMount /context/*.jsp serverdinamic
ProxyPassMatch ^ / context / (. *) \. Jsp!
ProxyPass / context / balancer: // server2 / context /
ProxyPassReverse / context / balancer: // server2 / context /
On the second server I have:
RewriteRule ^ / context $ / context/ [R]
Alias / context "/ www / https / context"
The problem is that if we have a problem, such as a 403, on the second server, this is the one that is shown to the user but there is some way for the second server to return it to the first and the first follow the execution with the jkmount ???.
Greetings. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 16 Oct '18 23:22 Post subject: |
|
|
Why do you combine mod_jk, mod_proxy and mod_rewrite? Use just one of it. ALso mod_jk config seems to be incomplete but I'm not an expert with that module. |
|
Back to top |
|
|
|
|
|
|