Obviously that’s not the full configuration , and probably there is a 
conflicting setting somewhere, otherwise it would work

 

From: Noor Mohammad [mailto:bakenoor...@gmail.com] 
Sent: Wednesday, November 29, 2017 9:30 PM
To: users@httpd.apache.org
Subject: [users@httpd] ProxyPassMatch returns 404

 

I have an application running on  <http://127.0.0.1:8084/marmotta> 
http://127.0.0.1:8084/marmotta. I want to route all traffic on my domain to 
this application and for this, I am setting a proxypassmatch ProxyPassMatch 
^/marmotta/(.*)$ http://localhost:8084/marmotta/$1 which is not working. When 
doing a request on  <http://127.0.0.1:8084/marmotta/ldp> 
http://127.0.0.1:8084/marmotta/ldp on the server itself, I can download the 
page but when doing  <http://example.com/marmotta/ldp> 
http://example.com/marmotta/ldp, I am getting a 404. The full configuration 
file is:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
 
ProxyPassMatch ^/marmotta/(.*)$ http://localhost:8084/marmotta/$1

Is there any problem with it ?




‌

Reply via email to