Thread: htaccess help
View Single Post
Old 08-02-2002, 05:05 PM  
kennyxyz
Registered User
 
Join Date: Jan 2002
Posts: 69
Hello,
It seems not work to me,
Here is a sample of my htaccess

deny from all
allow from xxx.xxx.xxx.xxx
allow from xxx.xxx.xxx.xxx
AuthUserFile /usr/home/xxxxxx/member.xxxyyyzzz.com/cgi-bin/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Area"
AuthType Basic


require valid-user

<Files .*>
order allow,deny
deny from all
</Files>
satisfy any

I intend to add a line ErrorDocument 401 http://xxx.com/error.html into the htaccess
But I don't know where I should place this in the file.
Does anybody here help?
Thanks!!
kennyxyz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote