version 1.2, 2001/01/03 18:25:43
|
version 1.27, 2001/12/06 19:23:42
|
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 289 ErrorDocument 403 /adm/login
|
Line 293 ErrorDocument 403 /adm/login
|
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 404 /adm/notfound.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 406 /adm/unauthorized.html |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
|
AllowOverride None |
</LocationMatch> |
</LocationMatch> |
|
|
# ------------------------------------------------------------------------- RAT |
# ------------------------------------------------------------------------- RAT |
Line 308 SetHandler perl-script
|
Line 313 SetHandler perl-script
|
PerlHandler Apache::lonratsrv |
PerlHandler Apache::lonratsrv |
</LocationMatch> |
</LocationMatch> |
|
|
|
<Location /adm/ratparms> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonratparms |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
# --------------------------------------------- Resource Space Content Handlers |
# --------------------------------------------- Resource Space Content Handlers |
|
|
<LocationMatch "^/res/.*/$"> |
<LocationMatch "^/res.*/$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonindexer |
PerlHandler Apache::lonindexer |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/res/.*\.tex$"> |
<LocationMatch "^/(res|\~).*\.tex$"> |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lontex |
PerlHandler Apache::lontex |
</LocationMatch> |
</LocationMatch> |
Line 335 SetHandler perl-script
|
Line 348 SetHandler perl-script
|
PerlHandler Apache::lonmeta |
PerlHandler Apache::lonmeta |
</LocationMatch> |
</LocationMatch> |
|
|
<LocationMatch "^/res/.*\.(xml|html|htm|xhtml|xhtm)$"> |
<LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$"> |
SetHandler perl-script |
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> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonstatistics |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/roles> |
<Location /adm/roles> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 422 ErrorDocument 406 /adm/roles
|
Line 451 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<Location /adm/grades> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::grades |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/createcourse> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncreatecourse |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/createuser> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncreateuser |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/publish> |
<Location /adm/publish> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 432 ErrorDocument 406 /adm/unauthorized.
|
Line 488 ErrorDocument 406 /adm/unauthorized.
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
|
<LocationMatch "^/\~.*/$"> |
|
PerlAccessHandler Apache::loncacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpubdir |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</LocationMatch> |
|
|
|
<Location /adm/pubdir> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonpubdir |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/retrieve> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonretrieve |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/cfile> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::loncfile |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/diff> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::londiff |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
|
<Location /adm/upload> |
|
PerlAccessHandler Apache::lonacc |
|
SetHandler perl-script |
|
PerlHandler Apache::lonupload |
|
ErrorDocument 403 /adm/login |
|
ErrorDocument 404 /adm/notfound.html |
|
ErrorDocument 406 /adm/unauthorized.html |
|
ErrorDocument 500 /adm/errorhandler |
|
</Location> |
|
|
<Location /adm/assesscalc> |
<Location /adm/assesscalc> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
Line 459 ErrorDocument 406 /adm/roles
|
Line 575 ErrorDocument 406 /adm/roles
|
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/dropadd> |
<Location /adm/chart> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::londropadd |
PerlHandler Apache::lonchart |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
ErrorDocument 406 /adm/roles |
ErrorDocument 406 /adm/roles |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
<Location /adm/mydesk> |
<Location /adm/dropadd> |
PerlAccessHandler Apache::lonacc |
PerlAccessHandler Apache::lonacc |
SetHandler perl-script |
SetHandler perl-script |
PerlHandler Apache::lonmydesk |
PerlHandler Apache::londropadd |
ErrorDocument 403 /adm/login |
ErrorDocument 403 /adm/login |
|
ErrorDocument 406 /adm/roles |
ErrorDocument 500 /adm/errorhandler |
ErrorDocument 500 /adm/errorhandler |
</Location> |
</Location> |
|
|
Line 542 ErrorDocument 406 /adm/roles
|
Line 659 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 558 SetHandler perl-script
|
Line 697 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 |
|
|