Re: protecting directory with cosign

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

 



The answer to my problem was here:

http://ammonlauritzen.com/blog/2006/11/20/no-groups-file/

The author of this site mentions that some of the behaviors previously performed by mod_auth in Apache 1.3 are split into separate modules in Apache 2. In addition to the modules loaded by default on Leopard Server, I loaded
	mod_authz_user	
	mod_auth_basic
	mod_authz_groupfile

Chris

--
Chris Africa
Web Project Manager
Department of Mechanical Engineering
University of Michigan
734-764-8482
Fridays: 734-730-6221
AIM/iChat/Skype ID: baiewola

On Apr 16, 2008, at 1:02 PM, Chris Africa wrote:
Hi!

I'm running Apache 2 with Cosign 2.1.0rc1 on MOSX Server 10.5.2. I'm trying to require Cosign login on a subfolder of my document root, but Apache appears not to recognize my groups file.

Here's the directive in my :443 virtual host.
	<Directory "/pathtofolder/docroot/myfoldername">
		CosignProtected On
		AuthType Cosign
		AllowOverride AuthConfig
		AuthGroupFile /pathtofolder/notdocroot/okay_groups
		Require group specialpeople
	</Directory>

okay_groups is a single line:
	specialpeople: user1 user2 user3 user4

And here's the error:
[crit] configuration error: couldn't check access. No groups file?: /myfoldername/index.php

I'm successfully using the above setup on a server running Apache 1.3 / MOSX Server 10.4.11 with mod_auth. The Apache 2 core/base includes AuthType, AllowOverride, AuthGroupFile and Require, so I've been presuming that I don't need to load any additional modules. However, after reading about some trouble experienced by another admin, I did try -- with no success -- loading mod_authz_user and mod_auth_basic, which were not loaded by default.

Can someone point me in the right direction? Apple's "Web Technologies Administration" document was no help, and Googling for the error didn't return anything directly relevant.

Thank you for your time!

--
Chris Africa
Web Project Manager
Department of Mechanical Engineering
University of Michigan
734-764-8482
Fridays: 734-730-6221
AIM/iChat/Skype ID: baiewola


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


!DSPAM:4806318e194975479454042!





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