File:  [LON-CAPA] / nsdl / conf / nsdl.conf
Revision 1.1: download - view: text, annotated - select for diffs
Thu May 23 19:53:28 2002 UTC (21 years, 11 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
web server configuration

##
## nsdl.conf -- Apache HTTP LONCAPA NSDL GATEWAY configuration file
##
## $Id: nsdl.conf,v 1.1 2002/05/23 19:53:28 harris41 Exp $
##

#
# Extensions to httpd.conf daemon configuration
#
# ================================================================ DocumentRoot

DocumentRoot "/home/httpd/html"

# ======================================================================== User

User www
Group www

# ======================================================= Shared Object Modules

LoadModule perl_module       modules/libperl.so
AddModule mod_perl.c

# =============================================================== Miscellaneous

ServerAdmin korte@lite.msu.edu
ExtendedStatus On

#
# Extensions to srm.conf name space servicing
#
# ===================================================================== Aliases

Alias /prtspool/ /home/httpd/prtspool/
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"

# ================================================================= Directories

# ------------------------------------------------------------- Access Handlers

<LocationMatch "^/OAI-script.*">
SetHandler perl-script
PerlHandler Apache::NSDL::ToTheGateway
</LocationMatch>

# ------------------------------------------------------- Shutting down a child

# PerlChildExitHandler Apache::nsdl::goodbye

#
# Extensions to access.conf permission configuration
#
# =========================================================== Directory Options

# Start out with "no"

<Directory />
Options None
AllowOverride None
</Directory>

# Yes to symbolic links and server-side includes

<Directory /home/httpd/html>
Options Includes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
</Directory>

# If it is in cgi-bin, then it can be executed as a CGI script.

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

# ============================================================= Access Handlers

# ================================================== Initiate mod_perl starting

PerlRequire      conf/nsdlstartup.pl
PerlFreshRestart On

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>