Whenever I try to access /balancer-manager in the browser, I get a 404 from the connected Tomcat cluster. Any idea what is wrong here?
Environment: Apache/2.2.10 (Linux/SUSE)
<VirtualHost *:443>
ProxyPass /balancer-manager !
ProxyPass / balancer://myalfresco-cluster/ nocanon
ProxyPassReverse / balancer://myalfresco-cluster/
<Proxy balancer://myalfresco-cluster>
BalancerMember ajp://server1:8009 route=jvm1
BalancerMember ajp://server2:8009 route=jvm2
ProxySet stickysession=JSESSIONID
</Proxy>
<Location /balancer-manager>
SetHandler balancer-manager
Order Deny,Allow
Allow from all
</Location>
<Location />
[cluster 开发者_如何学编程config]
</Location>
</VirtualHost>
There can be two issue.
You are somehow blocked by your .htaccess.
Check your Document Root .htaccess file.
Add this line "RewriteCond %{REQUEST_URI} !=/balancer-manager" without quote if the rewrite engine is on.Another problem that I did not face but people has reported is your wild card virtual host tag.
Replace the wildcard with actual ip.
I felt obliged to answer this question since I wasted much time trying to find a solution to the problem and I landed on your question quite often through google but without answer.
精彩评论