[cricket-users] Apache Setup for CGI in User Directories

From: pat.west@lmco.com
Date: Wed Jul 28 1999 - 12:46:25 PDT


From: pat.west@lmco.com

Folks,

I have seen posts asking for this so here it is.

These things go into httpd.conf (or access.conf for pre 1.3 configs)
-------------------------------------------------
#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html

#
# Control access to UserDir directories. The following is an example
# for a site where these directories aren't very restricted.
#
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes ExecCGI FollowSymLinks
</Directory>
-------------------------------------------------

Note: These settings are not the most secure. You may just want to give
access to your cricket user.

If you haven't had CGI running in apache before you should also check
for these things...

-------------------------------------------------

LoadModule cgi_module libexec/mod_cgi.so

AddModule mod_cgi.c

#
# To use CGI scripts:
#
AddHandler cgi-script .cgi

-------------------------------------------------

I hope this helps.

-Pat.

--------------------------- ONElist Sponsor ----------------------------

ONElist: your connection to people who share your interests.

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:59 PST