proxy pass redirection

Posted by zam on Server Fault See other posts from Server Fault or by zam
Published on 2012-11-18T18:05:22Z Indexed on 2012/11/18 23:06 UTC
Read the original article Hit count: 187

Filed under:
|

I am struggling with a redirection rule. I am now running my Redmine in webrick in port 3000 and proxy-pass it. The URL of my Redmine is xyz.example.com.

I also want to redirect the Redmine using the URL: abc.example.com. I added the server alias but no redirection taking place.

Here is my configuration:

<VirtualHost *:80>
  ServerName  xyz.example.com 
  ServerAlias     abc.examle.com 
  ProxyPass / h://local:3000/
  ProxyPassReverse / h://local:3000/
</VirtualHost>

© Server Fault or respective owner

Related posts about apache2

Related posts about proxy