1: ##
2: ## nsdl.conf -- Apache HTTP LONCAPA NSDL GATEWAY configuration file
3: ##
4: ## $Id: nsdl.conf,v 1.1 2002/05/23 19:53: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: # ------------------------------------------------------- Shutting down a child
47:
48: # PerlChildExitHandler Apache::nsdl::goodbye
49:
50: #
51: # Extensions to access.conf permission configuration
52: #
53: # =========================================================== Directory Options
54:
55: # Start out with "no"
56:
57: <Directory />
58: Options None
59: AllowOverride None
60: </Directory>
61:
62: # Yes to symbolic links and server-side includes
63:
64: <Directory /home/httpd/html>
65: Options Includes FollowSymLinks
66: AllowOverride None
67: order allow,deny
68: allow from all
69: </Directory>
70:
71: # If it is in cgi-bin, then it can be executed as a CGI script.
72:
73: <Directory /home/httpd/cgi-bin>
74: AllowOverride None
75: Options ExecCGI
76: </Directory>
77:
78: # ============================================================= Access Handlers
79:
80: # ================================================== Initiate mod_perl starting
81:
82: PerlRequire conf/nsdlstartup.pl
83: PerlFreshRestart On
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>