Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old July 18th, 2001, 07:49 PM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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.

Reply With Quote
  #2  
Old July 22nd, 2001, 12:48 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 222 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 40 sec
Reputation Power: 8
Send a message via ICQ to oskar
You might find some help here:
http://www.apacheweek.com/features/userauth

Reply With Quote
  #3  
Old July 23rd, 2001, 12:37 AM
worldtouch worldtouch is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Milian, Italy
Posts: 357 worldtouch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
problem solved

thanks!!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > plain password in authenication fail, why?????


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway