I have 2 virtual hosts(bugzilla and board review) on an apache server sitting inside an ubuntu machine.
I have one external ip address I can use(with one port enabled) so I can't assign different host names or different ports for the virtual hosts.(correct me if I'm wrong)
I want the user to be able to write the following: http://ip-address:port/bugzilla and for the requests to go to bugzilla and for requests from http://ip-address:port/review to go to the review board.
I tried reverse proxying from the first vhost to the second but that didn't work.
The bugzilla conf file uses cgi and the review board uses wsgi.
Is there a simple way of accomplishing the above?
Thanks in advance.
You can achieve this using the Alias directive.
Your Virtual host file would look like this
Achieving your goal of having multiple virtual hosts on the same IP.
GIF of it working
NOTE
VirtualHost
configuration with two different virtual host entries. One of the comments to this answer said different virtual hosts don't work. But they do, as long as the server name is different.You could change your addresses so they're http://bugzilla.ip-address:port/ and http://review.ip-address:port/ and then use the ServerName directive to use the correct VirtualHost.
http://httpd.apache.org/docs/2.0/vhosts/examples.html