Skip to content

Instantly share code, notes, and snippets.

@bjeanes
Created February 18, 2009 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjeanes/66623 to your computer and use it in GitHub Desktop.
Save bjeanes/66623 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerName sub.domain.com
ProxyPass / http://192.168.1.253:8080/
ProxyPassReverse / http://192.168.1.253:8080/
# The endpoint has a mandatory password that I want to avoid requiring users to type
# I.e. something like this would be nice (but does not work)
# ProxyPass / http://username:password@192.168.1.253:8080/
# ProxyPassReverse / http://username:password@192.168.1.253:8080/
# Also need to be able to require a password to access proxy for people outside local subnet
# However these passwords will be controlled by apache using BasicAuth, not the ProxyPass endpoint
# Ideas?
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment