version 1.20, 2001/06/23 18:26:40
|
version 1.28, 2001/12/07 21:53:53
|
Line 1
|
Line 1
|
## |
## |
## srm.conf -- Apache HTTP server configuration file |
## srm.conf -- Apache HTTP server configuration file |
## |
## |
|
# |
|
# configured for LON-CAPA |
|
# |
|
# $Id$ |
|
|
# With this document, you define the name space that users see of your http |
# With this document, you define the name space that users see of your http |
# server. This file also defines server settings which affect how requests are |
# server. This file also defines server settings which affect how requests are |
Line 146 LanguagePriority en fr de
|
Line 150 LanguagePriority en fr de
|
|
|
Alias /icons/ /home/httpd/icons/ |
Alias /icons/ /home/httpd/icons/ |
|
|
|
# needed for lonprintout.pm |
|
Alias /prtspool/ /home/httpd/prtspool/ |
|
|
# ScriptAlias: This controls which directories contain server scripts. |
# ScriptAlias: This controls which directories contain server scripts. |
# Format: ScriptAlias fakename realname |
# Format: ScriptAlias fakename realname |
|
|
Line 349 SetHandler perl-script
|
Line 356 SetHandler perl-script
|
PerlHandler Apache::lonxml |
PerlHandler Apache::lonxml |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form)$"> |
<LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonhomework |
PerlHandler Apache::lonhomework |
</LocationMatch> |
</LocationMatch> |
|
|
|
<LocationMatch "^/adm/wrapper/"> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonwrapper |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
# -------------------------------------------------------------- Admin Programs |
# -------------------------------------------------------------- Admin Programs |
|
|
<Location /adm/statistics> |
<Location /adm/statistics> |
Line 647 ErrorDocument 406 /adm/roles
|
Line 662 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/groupsort> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::groupsort |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/errorhandler> |
<Location /adm/errorhandler> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonerrorhandler |
PerlHandler Apache::lonerrorhandler |
</Location> |
</Location> |
|
|
# --------------------------------------------------------------- Backdoor Test |
# ------------------------------------------------- Backdoor Adm Tests/Programs |
|
|
|
<Location /cgi-bin/loncron.pl> |
|
AuthName "LON Network Synchronization Handler" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
|
<Location /cgi-bin/metadata_keywords.pl> |
|
AuthName "LON Keyword Handler" |
|
AuthType Basic |
|
AuthUserFile /home/httpd/lonTabs/htpasswd |
|
require user lonadm |
|
</Location> |
|
|
<Location /adm/test> |
<Location /adm/test> |
AuthName "LON Test Handler" |
AuthName "LON Test Handler" |
Line 663 SetHandler perl-script
|
Line 700 SetHandler perl-script
|
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
PerlHandler Apache::lontest |
PerlHandler Apache::lontest |
</Location> |
</Location> |
|
|
|
# ------------------------------------------------------- Shutting down a child |
|
|
|
PerlChildExitHandler Apache::lonnet::goodbye |