I have configured apache2 web server on my lan server and now I am configuring virtual host. My objective is to replace the local IP-address in place apache host IP in url.

For example :

I have installed apache web server on, when I call url , than it should be go to
I tried below configuration in virtual host setting...

ProxyPass /Proxy1/^$
ProxyPassReverse /Proxy1/^$

I am new to apache web server. Please help me to find what I am doing wrong?


The quoted config segment seems syntactically improper. Even if it would be regexp it is not correct, but regexps are not supported here, for that you need to use mod_rewrite. In short try this:

ProxyPass "/Proxy1/" ""
ProxyPassReverse "/Proxy1/" ""

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.