www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Immo Huneke <Hune...@Logica.Com>
Subject config/9078: The "require group x" directive appears not to work within a .htaccess file
Date Fri, 26 Oct 2001 14:58:41 GMT

>Number:         9078
>Category:       config
>Synopsis:       The "require group x" directive appears not to work within a .htaccess
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 12 12:40:06 PST 2001
>Originator:     HunekeI@Logica.Com
>Release:        1.3.20
Debian Linux 2.2.18 #2 SMP Tue Jan 23 19:07:25 GMT 2001 i686
With a valid .htaccess file in one of the subdirectories of a virtual site's document root,
no-one can access the directory or the documents in it. The .htaccess file contains no tab
characters - all spaces. NB users are being authenticated using the PAM authentication module
to an NT domain logon server. The .htpasswd file appears not to be accessed at all, which
I verified by adding a user to it who isn't in the NT domain.
Here is the content of the .htaccess file.

AuthPAM_Enabled on
AuthPAM_FallThrough on
AuthUserFile /home/deja/data/.htpasswd
AuthGroupFile /home/deja/data/.htgroup
AuthName "Logica Username/Password"
AuthType Basic
require group srdtech
My workaround for the moment has been to replace the last line with

require user w x y z

(where w x y z are valid NT users). This isn't a satisfactory procedure in the long term.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message