logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problem Configuration Apache
Author
wardguez2016



Joined: 27 Aug 2018
Posts: 1
Location: spain

PostPosted: Mon 27 Aug '18 13:21    Post subject: Problem Configuration Apache Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Tue 16 Oct '18 23:22    Post subject: Reply with quote

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


Reply to topic   Topic: Problem Configuration Apache View previous topic :: View next topic
Post new topic   Forum Index -> Apache