[LON-CAPA-cvs] cvs: nsdl /conf nsdl.conf

harris41 lon-capa-cvs@mail.lon-capa.org
Thu, 23 May 2002 19:53:28 -0000


harris41		Thu May 23 15:53:28 2002 EDT

  Added files:                 
    /nsdl/conf	nsdl.conf 
  Log:
  web server configuration
  
  

Index: nsdl/conf/nsdl.conf
+++ nsdl/conf/nsdl.conf
##
## 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