Re: [users@httpd] Selective authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/27/05, Emmanuel Franquemagne <emmanuel.franquemagne@xxxxxxxxxx> wrote:
> Hello,
> I use an apache web server, and I'd like to do the following on a
> subtree (let's assume it's /testaccess for the website):
> All users that come from a particular domain, no authentication is
> asked, they are automatically allowed
> For the rest of the world, an authentication has to be asked.
> 
> I do the following:
> In .htaccess file, I have:
> #
> AuthUserFile /opt/public/apache/htdocs/testaccess/userlist/userlist

Don't put your password file in the webspace.

> AuthType basic
> AuthName "Restricted"
> Allow from mydomain.com
> Require valid-user
> Satisfy any

You appear to be missing an "Order allow,deny" directive.  Other than
that, it appears correct.

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux