Skip to content

Instantly share code, notes, and snippets.

@lysender
Last active August 29, 2015 14:11
Show Gist options
  • Save lysender/62a6e7cced5f616b8486 to your computer and use it in GitHub Desktop.
Save lysender/62a6e7cced5f616b8486 to your computer and use it in GitHub Desktop.
NameVirtualHost *
<VirtualHost *>
ServerName owncloud.mydomain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /enterprise-sa/ http://127.0.0.1:8001/enterprise-sa/
ProxyPassReverse /enterprise-sa/ http://127.0.0.1:8001/enterprise-sa/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment