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 (21 years, 11 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
support an HTTP querying interface to the Learning Online Network

    1: ##
    2: ## nsdl.conf -- Apache HTTP LONCAPA NSDL GATEWAY configuration file
    3: ##
    4: ## $Id: nsdl.conf,v 1.2 2002/05/28 05:15:28 harris41 Exp $
    5: ##
    6: 
    7: #
    8: # Extensions to httpd.conf daemon configuration
    9: #
   10: # ================================================================ DocumentRoot
   11: 
   12: DocumentRoot "/home/httpd/html"
   13: 
   14: # ======================================================================== User
   15: 
   16: User www
   17: Group www
   18: 
   19: # ======================================================= Shared Object Modules
   20: 
   21: LoadModule perl_module       modules/libperl.so
   22: AddModule mod_perl.c
   23: 
   24: # =============================================================== Miscellaneous
   25: 
   26: ServerAdmin korte@lite.msu.edu
   27: ExtendedStatus On
   28: 
   29: #
   30: # Extensions to srm.conf name space servicing
   31: #
   32: # ===================================================================== Aliases
   33: 
   34: Alias /prtspool/ /home/httpd/prtspool/
   35: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   36: 
   37: # ================================================================= Directories
   38: 
   39: # ------------------------------------------------------------- Access Handlers
   40: 
   41: <LocationMatch "^/OAI-script.*">
   42: SetHandler perl-script
   43: PerlHandler Apache::NSDL::ToTheGateway
   44: </LocationMatch>
   45: 
   46: <LocationMatch "^/LON-script.*">
   47: SetHandler perl-script
   48: PerlHandler Apache::LONCAPA::ToTheGateway
   49: </LocationMatch>
   50: 
   51: # ------------------------------------------------------- Shutting down a child
   52: 
   53: # PerlChildExitHandler Apache::nsdl::goodbye
   54: 
   55: #
   56: # Extensions to access.conf permission configuration
   57: #
   58: # =========================================================== Directory Options
   59: 
   60: # Start out with "no"
   61: 
   62: <Directory />
   63: Options None
   64: AllowOverride None
   65: </Directory>
   66: 
   67: # Yes to symbolic links and server-side includes
   68: 
   69: <Directory /home/httpd/html>
   70: Options Includes FollowSymLinks
   71: AllowOverride None
   72: order allow,deny
   73: allow from all
   74: </Directory>
   75: 
   76: # If it is in cgi-bin, then it can be executed as a CGI script.
   77: 
   78: <Directory /home/httpd/cgi-bin>
   79: AllowOverride None
   80: Options ExecCGI
   81: </Directory>
   82: 
   83: # ============================================================= Access Handlers
   84: 
   85: # ================================================== Initiate mod_perl starting
   86: 
   87: PerlRequire      conf/nsdlstartup.pl
   88: PerlFreshRestart On

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