You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CSN <co...@yahoo.com> on 2005/11/08 00:01:07 UTC

[users@httpd] Avoiding passwords - using ProxyPass with proxy forward

I have ProxyRequests turned on and secured it with a
block like so:

<Proxy *>
  AuthType Basic
  AuthUserFile /etc/httpd/...
  Require valid-user
</Proxy>

But I also have a site that needs to use ProxyPass:

<VirtualHost *:80>
  ...
  ProxyPass / http://mydomain.com:3000
  ProxyPassReverse / http://mydomain.com:3000
</VirtualHost>

As configured above, my browser prompts me for a login
to access the site. I've tried various permutations of
<Proxy http://mydomain/*> and 'allow from
mydomain.com' in the config and can't get it to do
what I want: require a login for all proxy requests,
except for proxypass requests on that one site (since
it's a public site).

Thanks,
CSN


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
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


Re: [users@httpd] Avoiding passwords - using ProxyPass with proxy forward

Posted by Joshua Slive <js...@gmail.com>.
On 11/7/05, CSN <co...@yahoo.com> wrote:
> I have ProxyRequests turned on and secured it with a
> block like so:
>
> <Proxy *>
>   AuthType Basic
>   AuthUserFile /etc/httpd/...
>   Require valid-user
> </Proxy>
>
> But I also have a site that needs to use ProxyPass:
>
> <VirtualHost *:80>
>   ...
>   ProxyPass / http://mydomain.com:3000
>   ProxyPassReverse / http://mydomain.com:3000
> </VirtualHost>
>
> As configured above, my browser prompts me for a login
> to access the site.

Just a guess, but try:
<Proxy http://mydomain.com:3000/*>
Satisfy Any
Allow from all
</Proxy>

Joshua.

---------------------------------------------------------------------
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