[code]
ProxyPass / balancer://mycluster
ProxyPassReverse / balancer://mycluster
[/code]
看上去没什么错误,但是实际上有问题,抛出这样的错误:
[code]
[warn] proxy: No protocol handler was valid for the URL /admin/login_form. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[/code]
返回403错误
看上去特别奇怪,实际上要改成这样
[code]
ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
[/code]
看出来了吧,少了一个/,这个非常重要,在拼url的时候少这个不行的。
ProxyPass / balancer://mycluster
ProxyPassReverse / balancer://mycluster
[/code]
看上去没什么错误,但是实际上有问题,抛出这样的错误:
[code]
[warn] proxy: No protocol handler was valid for the URL /admin/login_form. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[/code]
返回403错误
看上去特别奇怪,实际上要改成这样
[code]
ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
[/code]
看出来了吧,少了一个/,这个非常重要,在拼url的时候少这个不行的。