Apache 1.2b/Linux 2.0.30 user authentication

Apache 1.2b/Linux 2.0.30 user authentication

Post by David R. Heffelfinge » Sat, 19 Apr 1997 04:00:00



Hello,

I'm trying to set up a web server using Linux Red Hat 4.1 (upgraded
kernel to 2.0.30) and apache 1.2b7

My problem is that user authentication is not working at all.

Here is my .htaccess file:

########################### begin .htaccess file #######################

AuthUserFile /foo/.htpasswd
AuthName Private stuff
AuthType Basic

require valid-user

#############################end .htaccess file #######################

and this is my access.conf:

############################### begin access.conf #####################

# access.conf: Global access configuration
# Online docs at http://www.apache.org/

# This file defines server settings which affect which types of services
# are allowed, and in what circumstances.

# Each directory to which Apache has access, can be configured with
respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).

# Originally by Rob McCool

# This should be changed to whatever you set DocumentRoot to.

<Directory /home/httpd/html>

# 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 (or at least, not yet).

Options Indexes Includes ExecCGI

# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo",
# "AuthConfig", and "Limit"

AllowOverride AuthConfig

# Controls who can get stuff from this server.

order allow,deny
allow from all

</Directory>

# /home/httpd/cgi-bin should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.

<Directory /home/httpd/cgi-bin>
AllowOverride AuthConfig
Options None
</Directory>

# Allow server status reports, with the URL of http://servername/status

# Change the ".nowhere.com" to match your domain to enable.

#<Location /status>
#SetHandler server-status

#order deny,allow
#deny from all
#allow from .nowhere.com
#</Location>

# You may place any other directories or locations you wish to have
# access information for after this one.

############################# end access.conf #########################
Any ideas on what migth be going on?

Thanks,
David
--
##############################################
# David R. Heffelfinger # 17320 Dahlgren Rd  #
# Computer Scientist    # Dahlgren, Va 22448 #
# NSWCDD Code N93       # Ph  (540)653-2800  #

##############################################

 
 
 

1. Linux 2.0.30, Apache, Perl, System Calls???

 Hello,
    we run Linux 2.0.30 .  I have written many perl scripts on our machines.
But when writing one to go along with Apache there are limitations to what I
can do.  I have tried to go through the config files for apache but with no
success.  I was wanting to do a system to call in a perl script in the
cgi-bin that is called by a web page.  If you have any ideas the would be
greatly apreciated.
Russ

The system calls would be to copy a file or run another perl script
elsewhere on the machine.

2. Multimedia Programming in Unix

3. Linux Journal's Apache User Authentication (Oct. 2000)

4. Need 6 Solaris Sys Admins for Minneapolis

5. Apache 1.2b and Linux

6. named: client 127.0.0.1#32768: query (cache) denied

7. 2B or naught 2B

8. Prevent Directory Listing in Apache

9. Apache/Linux 1.2b and pam problems

10. pushing 1.2.13 past 30 ppp users

11. Ultra 30 - in single-user mode screen flashes while in "vi"

12. Ipchains for 30 users 3 lans

13. Killing Idle users after 30 minutes