RE: [PHP] htaccess problems
| From: | Jack Dempsey | Date: | Tue, 18 Dec 2001 05:59:00 +0000 |
| Subject: | RE: [PHP] htaccess problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78041@lists.php.net to get a copy of this message | ||
i don't think you want that space inbetween private/ and .htpasswd
-----Original Message-----
From: Jeremiah Jester [mailto:jjest@u.washington.edu]
Sent: Tuesday, December 18, 2001 12:38 AM
To: Php-General
Subject: [PHP] htaccess problems
I cant seem to get my htaccess file to work. Can anyone help? Heres what i
have now:
AuthUserFile /var/www/html/private/ .htpasswd
AuthGroupFile /dev/null
AuthName PrivateDomain
AuthType Basic
<Limit GET>
require valid-user
</Limit>
I then type 'htpasswd -c .htpasswd myusername' and then set password.
Everything seems to be in order but i'm not prompted for user name and
passwd when i try to access protected area via the web? Both htaccess and
htpasswd files are in 'private' directory. Permission on secure folder is
755. Is that right? What about permissions for htaccess and htpasswd files?
Do I have to enable htaccess ability through apache first through
httpd.conf? Can anyone help?
Thansk,
JJ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net