3.2. Apache HTTPD - DNS based
This is a an example of how to setup a DNS name based Apache HTTPD proxy for OliveTin. It assumes OliveTin is running on localhost, port 1337.
<VirtualHost *:80> ServerName olivetin.example.com ProxyPass /utilities/OliveTin/ http://localhost:1337/ ProxyPassReverse /utilities/OliveTin/ http://localhost:1337/ </VirtualHost>
Note, you virtual host should not include a DocumentRoot directive - httpd is just proxying OliveTin, not serving it’s actual pages.