You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mehrdad Ziaei <su...@ziaei.com> on 2003/11/03 22:21:55 UTC

[users@httpd] disable Auth in .htaccess

Hi,

I have Auth enabled in .htaccess in /home/web/safe/
Is there anyway to disable Auth (in .htaccess) in /home/web/safe/unsafe/ so
users can have access to "unsafe" folder without being asked for user/pass?

I'm using Apache 1.3

Thanks for any help or suggestion.
Mehrdad


---------------------------------------------------------------------
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] disable Auth in .htaccess

Posted by Mehrdad Ziaei <su...@ziaei.com>.
Thanks Robert

"Statisfy any" worked just perfect.

Regards,
Mehrdad

----- Original Message ----- 
From: "Robert Andersson" <ro...@profundis.nu>
To: <us...@httpd.apache.org>
Sent: Tuesday, November 04, 2003 2:00 AM
Subject: Re: [users@httpd] disable Auth in .htaccess


> Mehrdad Ziaei wrote:
> > I have Auth enabled in .htaccess in /home/web/safe/
> > Is there anyway to disable Auth (in .htaccess) in /home/web/safe/unsafe/
> so
> > users can have access to "unsafe" folder without being asked for
> user/pass?
>
> I'm not sure, but it might be possible by including these in the access
> file:
>
>     Order allow,deny
>     Allow from all
>     Satisfy any
>
> See:
>     http://httpd.apache.org/docs/mod/core.html#satisfy
>
> Regards,
> Robert Andersson
>
>
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] disable Auth in .htaccess

Posted by Robert Andersson <ro...@profundis.nu>.
Mehrdad Ziaei wrote:
> I have Auth enabled in .htaccess in /home/web/safe/
> Is there anyway to disable Auth (in .htaccess) in /home/web/safe/unsafe/
so
> users can have access to "unsafe" folder without being asked for
user/pass?

I'm not sure, but it might be possible by including these in the access
file:

    Order allow,deny
    Allow from all
    Satisfy any

See:
    http://httpd.apache.org/docs/mod/core.html#satisfy

Regards,
Robert Andersson


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