Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] htaccess with userdir not working
Date: Mon, 23 Oct 2006 04:22:09
Message-Id: yu9zmbn654d.fsf@nyu.edu
In Reply to: [gentoo-user] htaccess with userdir not working by Henti Smith
1 At Thu, 28 Sep 2006 11:22:49 +0200 Henti Smith <henti@×××××××××××.za> wrote:
2
3 > I've setup a user Apache setup but for some reason I cannot htaccess
4 > the cgi-bin in the one folder.
5 >
6 > here is the details :
7 >
8 > .htaccess in /home/user/public_html/cgi-bin
9 >
10 > AuthType Basic
11 > AuthUserFile /etc/apache2/htpasswd/user
12 > AuthName "user"
13 > require valid-user
14 > satisfy any
15 >
16 > httpd.conf
17 >
18 > <Directory /home/*/public_html/cgi-bin>
19 > Options ExecCGI
20 > SetHandler cgi-script
21 > </Directory>
22 >
23 > when I go to the cgi-bin for the user .. it runs the cgi without
24 > probltping for user/.pass
25 >
26 > any ideas ?
27
28 Are the htaccess/htpasswd files readable by apache?
29 allan
30 --
31 gentoo-user@g.o mailing list