Hi,

I've installed redhat 7.1 and am using the included Apache build.  I'm trying to 
figure out how to set it up so that each user account has there own little cgi-bin 
directory where they can install scripts and not hose the entire system.  

I put a cgi-bin directory inside /skel so it's created with the creation of each 
account.  Permissions on the cgi-bin (for now) are set to 2755.

It is when I am messing around with httpd.conf that I get confused (understatement).

There appears to be three ways to enable cgi-bin directories, scriptalias, addhandler, 
and  <directory>

Right now, when I attempt to run a script I get "premature end of header" errors in 
the logs.

Thanks for any help.  Relevant (I believe) excerpts from httpd.conf are below. 

Here's the url:

http://literacy.english.louisville.edu/~mark/cgi-bin/

Thanks for suggestions.  If there is a good apache book that emphasizes user 
administration, please point me to it and I'll order it today.

scriptalias

#
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
ScriptAlias /cgi-bin/ "/home/mark/www/cgi-bin/"

<Directory "/var/www/cgi-bin">
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>



AddHandler


#
AddHandler cgi-script .cgi .pl

#





_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to