0
我試過這個問題的答案。 How to merge multiple ProxyPass directives in Apache? 但是當我啓動Apache說,我得到一個錯誤ProxyPass|ProxyPassMatch can not have a path when defined in a location.
ProxyPass | ProxyPassMatch在位置中定義時不能有路徑
我的000-default.conf有下面的代碼
<VirtualHost *:80>
include location1.conf
include location2.conf
</VirtualHost>
和我LOCATION1有,
<Location /web/?_escaped_fragment_=/>
ProxyPass /phpmyadmin !
ProxyPass/http://localhost:8082/
ProxyPassReverse/http://localhost:8082/
</Location>
和我location2有,
<Location /web/#!/>
ProxyPass /phpmyadmin !
ProxyPass/http://localhost:8080/
ProxyPassReverse/http://localhost:8080/
</Location>