Port Mango as a subdomain
-
hi,
i would like to host mango on a VPS but have it as a sub domain instead of a port i.e
instead of example.com:8080 i would like to have scada.example.comi have succeeded on a local host but it doesnt load the home page properly
on apache2:
<VirtualHost :80>
ServerName scada.webhost
ProxyPass / http://webhost:8080/
ProxyPassReverse / http://webhost:8080/*
ProxyRequests OffLocal reverse proxy authorization override
Most unix distribution deny proxy by default
(ie /etc/apache2/mods-enabled/proxy.conf in Ubuntu)
<Proxy http://webhost:8080/*> Order deny,allow Allow from all </Proxy>
</VirtualHost>
the login page comes up but is says page not found!
has anyone had success with this? -
got it to work
just remove the /* at the end of port 8080
:D