You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bi...@nokia.com on 2004/01/06 00:04:45 UTC

[users@httpd] Setting up Apache as an Authenticating Proxy Server on WIN32 platform

Hello All,

I am trying to configure Apache as a Authenticating Proxy Server. I have configured it as a Proxy Server by adding the following lines to my http.conf ...

-----------------

ProxyRequests On
ProxyVia On

<Proxy *>

Order deny,allow
Deny from all
Allow from nokia.com

</Proxy>

------------------

My problem is that I do not understand how to make these request ask for authentication (A HTTP 407 response). I can create a plain test authentication pasword file for Basic authentication using htpasswd utility. I just need a push in the right direction for modification of the above <proxy *> directive to ask for this information when passing the request to the proxy.

Any help appreciated.

kind rgds

Bill

--------------------------
Bill Bonney
Software Engineer
NMP Vancouver R&D



---------------------------------------------------------------------
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] How do I grant open permission to a subdirectory who's parent directory has a Require AuthType Basic Require Valid-User by way of .htaccess?????

Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 27 Jan 2004, Jon Block wrote:

> How do I grant open permission to a subdirectory who's parent directory has
> a Require AuthType Basic Require Valid-User by way of .htaccess?????
>
> Can someone please give me the ".htaccess" code I would use to grant open
> permission to a subdirectory who's parent has restrictions? Thanks!

Satisfy Any
Allow from all

But watch out: that will also kill any host-based access restrictions
(such as the restrictions against downloading .htaccess files).  A cleaner
way is to use an Alias to point to a directory that is not under the
protected directory.

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


[users@httpd] How do I grant open permission to a subdirectory who's parent directory has a Require AuthType Basic Require Valid-User by way of .htaccess?????

Posted by Jon Block <ht...@collegepublisher.com>.
How do I grant open permission to a subdirectory who's parent directory has
a Require AuthType Basic Require Valid-User by way of .htaccess?????

Can someone please give me the ".htaccess" code I would use to grant open
permission to a subdirectory who's parent has restrictions? Thanks!
Jon


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