httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cohen" <supp...@gej-it.com>
Subject RE: [users@httpd] Proxy w/ Auth
Date Sat, 19 Jul 2003 00:08:41 GMT
In the Vhost use:

AuthType Basic
AuthUserFile /home/passwords.txt
AuthName "Please log in"
require valid-user
ProxyPass /asp http://intranet.server.com/app

** Make sure auth is before ProxyPass!

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: Paul Jרrstad [mailto:pjj@tandberg.no]
> Sent: Friday, July 18, 2003 11:14 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] Proxy w/ Auth
> 
> 
> Hello, I've noticed that the issue of authenticating proxy requests have
> been discussed in this forum before. However, I'm not able to configure
> my Apache 1.3..
> 
> I have a virtualhost "foo.bar.com". In that block I have a proxy block:
> 
> <IfModule mod_proxy.c>
>    ProxyRequests On
>    ProxyPass /app http://intranet.server.com/app
> </IfModule>
> 
> BTW: intranet.server.com is running IIS, but that sholdn't mess it up I
> think ;)
> 
> Then I want to authenticate the access to http://foo.bar.com/app :
> 
> AuthType Basic
> AuthUserFile /home/passwords.txt
> AuthName "Please log in"
> require valid-user
> 
> I've tried putting these lines in both <Location /app> and <Directory
> proxy:*> with no luck.
> 
> Both the auth part and proxy part work perfectly well separately, but
> not together..
> 
> Thanks for any ideas resolving this issue!
> 
> BRGDS Paul Jorstad
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message