|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
plain password in authenication fail, why?????
I use plain text password in apache authenication and it still fail. I
exhausted my method. I also defined auth_module in apache.conf LoadModule auth_module modules/mod_auth.so Would folks help me ?? why ???? jennifer. ===== setting in httpd.conf=================== <Directory "/var/www/html/redhat7.1"> # # This may also be "None", "All", or any combination of "Indexes", # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews". # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # ########### 18th July 2001 Options Indexes Includes FollowSymLinks # # This controls which options the .htaccess files in directories can # override. Can also be "All", or any combination of "Options", "FileInfo", # "AuthConfig", and "Limit" # ######mark this line AllowOverride None ###### ### added this line 18th July 2001 AllowOverride AuthConfig # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> ..... .... # AccessFileName: The name of the file to look for in each directory # for access control information. # AccessFileName .htaccess # # The following lines prevent .htaccess files from being viewed by # Web clients. Since .htaccess files often contain authorization # information, access is disallowed for security reasons. Comment # these lines out if you want Web visitors to see the contents of # .htaccess files. If you change the AccessFileName directive above, # be sure to make the corresponding changes here. # # Also, folks tend to use names such as .htpasswd for password # files, so this will protect those as well. # #########<Files ~ "^\.ht"> # Order allow,deny # Deny from all #</Files> ================= in target directory ======== AuthName "eNO ENTRY SW 7.1 2001 " AuthType Basic AuthUserFile /home/jenny/apache/pass ###.htpasswd <LIMIT GET POST PUT> require valid-user #require user reader jenny </LIMIT> ============================= [root@worldcn apache]# ./htpasswd -c -p pass jenny Warning: storing passwords as plain text might just not work on this platform. New password: Re-type new password: Adding password for user jenny [root@worldcn apache]# cat pass jenny:a [root@worldcn apache]# Last edited by worldtouch : July 19th, 2001 at 06:19 AM. |
|
#2
|
|||
|
|||
|
You might find some help here:
http://www.apacheweek.com/features/userauth |
|
#3
|
|||
|
|||
|
problem solved
thanks!!!
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > plain password in authenication fail, why????? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|