ServerName example.com Order deny,allow Allow from all AuthUserFile /var/www/html/.htpasswd AuthType Basic AuthName "Password protected" Require valid-user ProxyPass http://localhost:8000/b ProxyPassReverse http://localhost:8000/b