We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Setting up Apache mod_proxy with Authentication

06-11-2013, 17:06
Can anyone help with setting this up?

I've checked which modules are installed:
cd /usr/lib/apache2/modules/

I've check which modules are enabled:
cd /etc/apache2/mods-enabled/

My httpd.conf is as follows:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Listen 8080

ProxyRequests On
ProxyVia On

Order Deny,Allow
Deny from all
Allow from
AuthName "Log In"
AuthType Basic
AuthUserFile /home/user1/.htpasswd
AuthGroupFile /dev/null
require user user1
But I can't connect