Skip to navigation
How to proxy an apache2 virtual host domain to a django port webapp
29.03.16
foo.dev will be forwarded to local port 8000 NameVirtualHost *:80
ServerName foo.dev ServerAlias *.foo.dev ServerAdmin foo@bar.com ErrorLog "/var/customers/logs/foo-error.log" CustomLog "/var/customers/logs/foo-access.log" combined ProxyPreserveHost On ProxyRequests On
Order allow,deny Allow from all
ServerName foo.dev ProxyPass / http://localhost:8000/ ProxyPassReverse / http://localhost:8000/
http://www.apachetutor.org/admin/reverseproxies
Reply
Anonymous
Information Epoch 1740078200
Save trees.
Home
Notebook
Contact us