Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

htaccess: changes from v1 to v2 with require?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Problems with Tomcat Reverse DNS Lookup & Log..  
Author Message
OwenWatson

External


Since: Jun 04, 2007
Posts: 1



(Msg. 1) Posted: Mon Jun 04, 2007 5:51 pm
Post subject: htaccess: changes from v1 to v2 with require?
Archived from groups: alt>apache>configuration (more info?)

We've got a htaccess file that works perfectly under v1:
<FilesMatch "030.*\.pdf$">
AuthName "protected"
AuthType Basic
AuthUserFile /www/xxx/adm/htpublishpasswd.txt
AuthGroupFile /www/xxx/adm/ht2007publishgroups.txt
require user H06064
require group nzjchs2007
satisfy any
</FilesMatch>

ie either user H06064 or group nzjchs2007 can view it.

However, it fails under apache 2 (latest centro distro).

It only works if you replace the require user H06064 line with
require group H06064

and make the necessary additions to the group file.

Is this a bug?

 >> Stay informed about: htaccess: changes from v1 to v2 with require? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
problem with Require - hello there ! i wanna restrict the content of a certain dir so i ve created a user file with htpasswd -c file user1 then i ve put <Directory /usr/local/apache2/htdocs/dir> AuthName test AuthType Basic AuthUserFile file Require user </Directo...

Question about and require - Hi! I'm trying to understand how <Limit> (or <LimitExcept>) and require interact. I'm trying to set up a WebDAV directory with subdirectories for users. Access to any part of the directory requires a password. The subdirectories are only t...

Does Apache 2.2 require gcc to RUN?? - Hi, I am successfully running Apache httpd 2.2 in our environment with mod_jk DSO. I need to remove gcc on the boxes. The question that I have is, will Apache run without gcc loaded on the box. I am running Solaris 9. Thank you in advance....

Require password for all but one directory? - I have a somewhat odd directory structure for a web site: There is one directory (call it "foo") where I want to have basic password authentication working for all of foo's subdirectories >>except one<<, which needs to be wide open ...

AuthType require password only? - Is there a way to have the Apache authorization dialog prompt just for a password, rather than a user id and password? I have the current htaccess script: Thanks! AuthUserFile private.pass AuthGroupFile /dev/null AuthName 'Protected Area' AuthType..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]