Annotation of nsdl/conf/nsdl.conf, revision 1.2

1.1       harris41    1: ##
                      2: ## nsdl.conf -- Apache HTTP LONCAPA NSDL GATEWAY configuration file
                      3: ##
1.2     ! harris41    4: ## $Id: nsdl.conf,v 1.1 2002/05/23 19:53:28 harris41 Exp $
1.1       harris41    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
1.2     ! harris41   44: </LocationMatch>
        !            45: 
        !            46: <LocationMatch "^/LON-script.*">
        !            47: SetHandler perl-script
        !            48: PerlHandler Apache::LONCAPA::ToTheGateway
1.1       harris41   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>