On 2012-08-23 22:09, Knud Sørensen wrote:

Hi

I have some virtual host questions.

How does one run more than one virtual host with vibe ??

I have noticed vibedist but the README is very short and the is no examples.

Also is it possible to run a vibe virtual host alongside a apache
virtual host, if it is then how ??

Thanks, for vibe and hope you can help.
Knud

I just did it like this:

<VirtualHost *:80>

ServerName gtk.d
ProxyRequests On
ProxyPreserveHost On
ProxyVia full
<Proxy *:80>
    Order deny,allow
    Allow from all
</Proxy>

ProxyPass / http://127.0.0.1:4833/
ProxyPassReverse / http://127.0.0.1:4833/

</VirtualHost>

then
a2enmod proxy
a2enmod proxy_http
a2ensite gtkd
service apache2 restart

And it seems to work.

Maybe an virtual host example should be included with vibe.

Knud