Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htpasswd question thanks..

Status
Not open for further replies.

melnet

Programmer
Jul 8, 2003
77
HK
hi...
the .htpasswd still doesn't work....
httpd.conf:

<Directory /home/*>
# AllowOverride FileInfo AuthConfig Limit
AllowOverride All
Options MultiViews SymLinksIfOwnerMatch
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
#<Directory &quot;/&quot;>
# Options FollowSymLinks
# AllowOverride None

#</Directory>

any setting to do?

thanks for help...
 
Did you create user for .htpasswd?
You need to define which users allow/deny to access that website in httpd.conf.
You can find detail infomation about authentication from Good luck :)
 
1.i add the httpd.conf to last line
2.i set .htpasswd and .htaccess according to web ref.

but i dont konw why it pop up error msg, maybe login or passwd wrong. however i create few a/c. it also like that....

thanks for help...
 
You didn't list the contents of your .htaccess file above? Do you have something like this inside your .htaccess file or anywhere else in your httpd.conf file?

AuthType Basic
AuthUserFile /var/require valid-user



ChrisP
RHCE, LPIC-1, CCNA, CNE, MCSE, +10 others
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top