File:  [LON-CAPA] / nsdl / conf / nsdl.conf
Revision 1.2: download - view: text, annotated - select for diffs
Tue May 28 05:15:28 2002 UTC (20 years ago) by harris41
Branches: MAIN
CVS tags: HEAD
support an HTTP querying interface to the Learning Online Network

##
## nsdl.conf -- Apache HTTP LONCAPA NSDL GATEWAY configuration file
##
## $Id: nsdl.conf,v 1.2 2002/05/28 05:15: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>

<LocationMatch "^/LON-script.*">
SetHandler perl-script
PerlHandler Apache::LONCAPA::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>