What is the simplest possible configuration of Apache2 mod_proxy?
- by Eye of Hell
Hello.
I have an apache2 running and i have a service available as http://www.domain.com:8080/sitename
What will be a simplest apache2 configuration so entering "http://www.domain.com" in browser will show "http://www.domain.com:8080/sitename"? I have added:
<VirtualHost *:80>
ProxyPass / http://www.domain.com:8080/sitename/
ProxyPassReverse / http://www.domain.com:8080/sitename/
</VirtualHost>
But, of course, this is not workig. Is it some simple configuration i can use for such redirect or i'm doomed to copy-paste a 100+ line configs from tutorials?