[users@httpd] Reverse proxy not working

2017-12-31 Thread Noor Mohammad
I have an application correctly working on locahost:8080 and I am setting up a reverse proxy as follows but on a remote browser, when using the proxy, i am getting local links as if apache is ignoring the reverse proxy. The definition of the proxy is as follows: LoadModule proxy_module

Re: [users@httpd] Apache Virtual Host not working properly

2017-12-31 Thread Noor Mohammad
I tried it but it's not working ‌ On Sun, Dec 31, 2017 at 5:11 AM, Marat Khalili wrote: > > For the second question, for sure it's not the application because I > ever use the same app before but i didn't get the problem [...] > > Try to set ProxyPreserveHost > -- > > With Best

Re: [users@httpd] Apache Virtual Host not working properly

2017-12-30 Thread Noor Mohammad
‌ On Sat, Dec 30, 2017 at 10:02 PM, Eric Covener <cove...@gmail.com> wrote: > On Sat, Dec 30, 2017 at 3:30 PM, Noor Mohammad <bakenoor...@gmail.com> > wrote: > > I have an application running at http://localhost:6512 and a virtual > hos

[users@httpd] Apache Virtual Host not working properly

2017-12-30 Thread Noor Mohammad
I have an application running at http://localhost:6512 and a virtual host definition as follows: ServerName ldpmarmotta.example.com ProxyPassMatch ^/(.*)$ http://localhost:6512/marmotta/$1 I am getting two problems with the above definition: 1. All traffic to this server

RE: [users@httpd] ProxyPassMatch returns 404

2017-11-29 Thread Noor Mohammad
g 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 runni

[users@httpd] ProxyPassMatch returns 404

2017-11-29 Thread Noor Mohammad
I have an application running on 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