开发者

balancer-manager not accessible

开发者 https://www.devze.com 2023-03-08 03:35 出处:网络
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?

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.

  1. 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.

  2. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消