version 1.1, 2002/05/12 19:11:31
|
version 1.9, 2002/07/22 20:35:05
|
Line 12
|
Line 12
|
# |
# |
# LON-CAPA Section (extensions to httpd.conf daemon configuration) |
# LON-CAPA Section (extensions to httpd.conf daemon configuration) |
# |
# |
# ======================================================================== User |
# ================================================================ DocumentRoot |
|
|
DocumentRoot "/home/httpd/html" |
DocumentRoot "/home/httpd/html" |
|
|
Line 37 ExtendedStatus On
|
Line 37 ExtendedStatus On
|
# ===================================================================== Aliases |
# ===================================================================== Aliases |
|
|
Alias /prtspool/ /home/httpd/prtspool/ |
Alias /prtspool/ /home/httpd/prtspool/ |
|
ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" |
|
|
# ================================================================= Directories |
# ================================================================= Directories |
|
|
Line 121 SetHandler perl-script
|
Line 122 SetHandler perl-script
|
PerlHandler Apache::lonsequence |
PerlHandler Apache::lonsequence |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/res/.*\.meta$> |
<LocationMatch "^/(res|\~).*\.meta$> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonmeta |
PerlHandler Apache::lonmeta |
</LocationMatch> |
</LocationMatch> |
Line 353 ErrorDocument 406 /adm/roles
|
Line 354 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/chart> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonchart |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/dropadd> |
<Location /adm/dropadd> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 450 SetHandler perl-script
|
Line 442 SetHandler perl-script
|
PerlHandler Apache::lonerrorhandler |
PerlHandler Apache::lonerrorhandler |
</Location> |
</Location> |
|
|
|
<LocationMatch "^/adm/help/.*\.hlp$"> |
|
SetHandler perl-script |
|
PerlHandler Apache::lonhelp |
|
</LocationMatch> |
|
|
# ------------------------------------------------- Backdoor Adm Tests/Programs |
# ------------------------------------------------- Backdoor Adm Tests/Programs |
|
|
<Location /cgi-bin/loncron.pl> |
<Location /cgi-bin/loncron.pl> |
Line 565 PerlSetVar lonDocRoot /home/http
|
Line 562 PerlSetVar lonDocRoot /home/http
|
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes |
PerlSetVar lonIncludes /home/httpd/html/res/adm/includes |
PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 |
PerlSetVar lonBrowsDet netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1 |
|
|
|
# ----------------------------------------------------------------------------- |
|
# NOTE: lonSqlAccess key is the password for the MySQL user |
|
# www@localhost. This value must always be "localhostkey". |
|
# The only security risk occurs when somebody logs in as 'www' on your system |
|
# (in which case you have much bigger problems than whether or not they |
|
# can access the non-authoritative loncapa database on your machine). |
|
|
|
PerlSetVar lonSqlAccess localhostkey |
|
|
|
# ----------------------------------------------------------------------------- |
|
|
|
|
|
# ====================================== Include machine-specific configuration |
|
|
|
Include conf/loncapa.conf |
|
|
# ================================================== Initiate mod_perl starting |
# ================================================== Initiate mod_perl starting |
|
|
PerlRequire conf/startup.pl |
PerlRequire conf/startup.pl |