Annotation of doc/build/confexamples/loncapa.conf, revision 1.1
1.1 ! harris41 1: ##
! 2: ## loncapa.conf -- Apache HTTP LON-CAPA configuration file
! 3: ##
! 4: ## $Id: loncapa.conf,v 1.1 2002/01/11 16:42:14 harris41 Exp $
! 5: ##
! 6: ## 1/11/2002 - Scott Harrison
! 7:
! 8: #
! 9: # LON-CAPA Section (extensions to srm.conf name space servicing)
! 10: #
! 11: # ================================================================= Directories
! 12:
! 13: # ------------------------------------------------------------- Access Handlers
! 14:
! 15: <LocationMatch "^/res.*">
! 16: PerlAccessHandler Apache::lonacc
! 17: PerlHeaderParserHandler Apache::lonrep
! 18: ErrorDocument 403 /adm/login
! 19: ErrorDocument 404 /adm/notfound.html
! 20: ErrorDocument 406 /adm/roles
! 21: ErrorDocument 500 /adm/errorhandler
! 22: </LocationMatch>
! 23:
! 24: <LocationMatch "^/priv.*">
! 25: PerlAccessHandler Apache::loncacc
! 26: SetHandler perl-script
! 27: PerlHandler Apache::lonconstruct
! 28: ErrorDocument 403 /adm/login
! 29: ErrorDocument 404 /adm/notfound.html
! 30: ErrorDocument 406 /adm/unauthorized.html
! 31: ErrorDocument 500 /adm/errorhandler
! 32: </LocationMatch>
! 33:
! 34: <LocationMatch "^/raw.*">
! 35: PerlAccessHandler Apache::lonracc
! 36: </LocationMatch>
! 37:
! 38: <LocationMatch "^/\~.*">
! 39: PerlAccessHandler Apache::loncacc
! 40: ErrorDocument 403 /adm/login
! 41: ErrorDocument 404 /adm/notfound.html
! 42: ErrorDocument 406 /adm/unauthorized.html
! 43: ErrorDocument 500 /adm/errorhandler
! 44: AllowOverride None
! 45: </LocationMatch>
! 46:
! 47: # ------------------------------------------------------------------------- RAT
! 48:
! 49: <LocationMatch "^/\~.*\.sequence$">
! 50: SetHandler perl-script
! 51: PerlHandler Apache::lonratedt
! 52: </LocationMatch>
! 53:
! 54: <LocationMatch "^/\~.*\.page$">
! 55: SetHandler perl-script
! 56: PerlHandler Apache::lonratedt
! 57: </LocationMatch>
! 58:
! 59: <LocationMatch "^/\~.*\/ratserver$">
! 60: SetHandler perl-script
! 61: PerlHandler Apache::lonratsrv
! 62: </LocationMatch>
! 63:
! 64: <Location /adm/ratparms>
! 65: PerlAccessHandler Apache::lonacc
! 66: SetHandler perl-script
! 67: PerlHandler Apache::lonratparms
! 68: ErrorDocument 403 /adm/login
! 69: ErrorDocument 500 /adm/errorhandler
! 70: </Location>
! 71:
! 72: # --------------------------------------------- Resource Space Content Handlers
! 73:
! 74: <LocationMatch "^/res.*/$">
! 75: SetHandler perl-script
! 76: PerlHandler Apache::lonindexer
! 77: </LocationMatch>
! 78:
! 79: <LocationMatch "^/(res|\~).*\.tex$">
! 80: SetHandler perl-script
! 81: PerlHandler Apache::lontex
! 82: </LocationMatch>
! 83:
! 84: <LocationMatch "^/res/.*\.page$>
! 85: SetHandler perl-script
! 86: PerlHandler Apache::lonpage
! 87: </LocationMatch>
! 88:
! 89: <LocationMatch "^/res/.*\.sequence$>
! 90: SetHandler perl-script
! 91: PerlHandler Apache::lonsequence
! 92: </LocationMatch>
! 93:
! 94: <LocationMatch "^/res/.*\.meta$>
! 95: SetHandler perl-script
! 96: PerlHandler Apache::lonmeta
! 97: </LocationMatch>
! 98:
! 99: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
! 100: SetHandler perl-script
! 101: PerlHandler Apache::lonxml
! 102: </LocationMatch>
! 103:
! 104: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
! 105: SetHandler perl-script
! 106: PerlHandler Apache::lonhomework
! 107: </LocationMatch>
! 108:
! 109: <LocationMatch "^/adm/wrapper/">
! 110: PerlAccessHandler Apache::lonacc
! 111: SetHandler perl-script
! 112: PerlHandler Apache::lonwrapper
! 113: ErrorDocument 403 /adm/login
! 114: ErrorDocument 500 /adm/errorhandler
! 115: </LocationMatch>
! 116:
! 117: # -------------------------------------------------------------- Admin Programs
! 118:
! 119: <Location /adm/statistics>
! 120: PerlAccessHandler Apache::lonacc
! 121: SetHandler perl-script
! 122: PerlHandler Apache::lonstatistics
! 123: ErrorDocument 403 /adm/login
! 124: ErrorDocument 500 /adm/errorhandler
! 125: </Location>
! 126:
! 127: <Location /adm/roles>
! 128: PerlAccessHandler Apache::lonacc
! 129: SetHandler perl-script
! 130: PerlHandler Apache::lonroles
! 131: ErrorDocument 403 /adm/login
! 132: ErrorDocument 500 /adm/errorhandler
! 133: </Location>
! 134:
! 135: <Location /adm/login>
! 136: SetHandler perl-script
! 137: PerlHandler Apache::lonlogin
! 138: </Location>
! 139:
! 140: <Location /adm/logout>
! 141: PerlAccessHandler Apache::lonacc
! 142: SetHandler perl-script
! 143: PerlHandler Apache::lonlogout
! 144: ErrorDocument 403 /adm/login
! 145: </Location>
! 146:
! 147: <Location /adm/authenticate>
! 148: SetHandler perl-script
! 149: PerlHandler Apache::lonauth
! 150: </Location>
! 151:
! 152: <Location /adm/annotations>
! 153: PerlAccessHandler Apache::lonacc
! 154: SetHandler perl-script
! 155: PerlHandler Apache::admannotations
! 156: ErrorDocument 403 /adm/login
! 157: ErrorDocument 500 /adm/errorhandler
! 158: </Location>
! 159:
! 160: <Location /adm/bookmarks>
! 161: PerlAccessHandler Apache::lonacc
! 162: SetHandler perl-script
! 163: PerlHandler Apache::admbookmarks
! 164: ErrorDocument 403 /adm/login
! 165: ErrorDocument 500 /adm/errorhandler
! 166: </Location>
! 167:
! 168: <Location /adm/flip>
! 169: PerlAccessHandler Apache::lonacc
! 170: SetHandler perl-script
! 171: PerlHandler Apache::lonpageflip
! 172: ErrorDocument 406 /adm/roles
! 173: ErrorDocument 403 /adm/login
! 174: ErrorDocument 500 /adm/errorhandler
! 175: </Location>
! 176:
! 177: <Location /adm/ambiguous>
! 178: PerlAccessHandler Apache::lonacc
! 179: SetHandler perl-script
! 180: PerlHandler Apache::lonambiguous
! 181: ErrorDocument 403 /adm/login
! 182: ErrorDocument 500 /adm/errorhandler
! 183: </Location>
! 184:
! 185: <Location /adm/email>
! 186: PerlAccessHandler Apache::lonacc
! 187: SetHandler perl-script
! 188: PerlHandler Apache::lonmsg
! 189: ErrorDocument 403 /adm/login
! 190: ErrorDocument 500 /adm/errorhandler
! 191: </Location>
! 192:
! 193: <Location /adm/parmset>
! 194: PerlAccessHandler Apache::lonacc
! 195: SetHandler perl-script
! 196: PerlHandler Apache::lonparmset
! 197: ErrorDocument 403 /adm/login
! 198: ErrorDocument 406 /adm/roles
! 199: ErrorDocument 500 /adm/errorhandler
! 200: </Location>
! 201:
! 202: <Location /adm/grades>
! 203: PerlAccessHandler Apache::lonacc
! 204: SetHandler perl-script
! 205: PerlHandler Apache::grades
! 206: ErrorDocument 403 /adm/login
! 207: ErrorDocument 406 /adm/roles
! 208: ErrorDocument 500 /adm/errorhandler
! 209: </Location>
! 210:
! 211: <Location /adm/createcourse>
! 212: PerlAccessHandler Apache::lonacc
! 213: SetHandler perl-script
! 214: PerlHandler Apache::loncreatecourse
! 215: ErrorDocument 403 /adm/login
! 216: ErrorDocument 406 /adm/roles
! 217: ErrorDocument 500 /adm/errorhandler
! 218: </Location>
! 219:
! 220: <Location /adm/createuser>
! 221: PerlAccessHandler Apache::lonacc
! 222: SetHandler perl-script
! 223: PerlHandler Apache::loncreateuser
! 224: ErrorDocument 403 /adm/login
! 225: ErrorDocument 406 /adm/roles
! 226: ErrorDocument 500 /adm/errorhandler
! 227: </Location>
! 228:
! 229: <Location /adm/publish>
! 230: PerlAccessHandler Apache::lonacc
! 231: SetHandler perl-script
! 232: PerlHandler Apache::lonpublisher
! 233: ErrorDocument 403 /adm/login
! 234: ErrorDocument 404 /adm/notfound.html
! 235: ErrorDocument 406 /adm/unauthorized.html
! 236: ErrorDocument 500 /adm/errorhandler
! 237: </Location>
! 238:
! 239: <LocationMatch "^/\~.*/$">
! 240: PerlAccessHandler Apache::loncacc
! 241: SetHandler perl-script
! 242: PerlHandler Apache::lonpubdir
! 243: ErrorDocument 403 /adm/login
! 244: ErrorDocument 404 /adm/notfound.html
! 245: ErrorDocument 406 /adm/unauthorized.html
! 246: ErrorDocument 500 /adm/errorhandler
! 247: </LocationMatch>
! 248:
! 249: <Location /adm/pubdir>
! 250: PerlAccessHandler Apache::lonacc
! 251: SetHandler perl-script
! 252: PerlHandler Apache::lonpubdir
! 253: ErrorDocument 403 /adm/login
! 254: ErrorDocument 404 /adm/notfound.html
! 255: ErrorDocument 406 /adm/unauthorized.html
! 256: ErrorDocument 500 /adm/errorhandler
! 257: </Location>
! 258:
! 259: <Location /adm/retrieve>
! 260: PerlAccessHandler Apache::lonacc
! 261: SetHandler perl-script
! 262: PerlHandler Apache::lonretrieve
! 263: ErrorDocument 403 /adm/login
! 264: ErrorDocument 404 /adm/notfound.html
! 265: ErrorDocument 406 /adm/unauthorized.html
! 266: ErrorDocument 500 /adm/errorhandler
! 267: </Location>
! 268:
! 269: <Location /adm/cfile>
! 270: PerlAccessHandler Apache::lonacc
! 271: SetHandler perl-script
! 272: PerlHandler Apache::loncfile
! 273: ErrorDocument 403 /adm/login
! 274: ErrorDocument 404 /adm/notfound.html
! 275: ErrorDocument 406 /adm/unauthorized.html
! 276: ErrorDocument 500 /adm/errorhandler
! 277: </Location>
! 278:
! 279: <Location /adm/diff>
! 280: PerlAccessHandler Apache::lonacc
! 281: SetHandler perl-script
! 282: PerlHandler Apache::londiff
! 283: ErrorDocument 403 /adm/login
! 284: ErrorDocument 404 /adm/notfound.html
! 285: ErrorDocument 406 /adm/unauthorized.html
! 286: ErrorDocument 500 /adm/errorhandler
! 287: </Location>
! 288:
! 289: <Location /adm/upload>
! 290: PerlAccessHandler Apache::lonacc
! 291: SetHandler perl-script
! 292: PerlHandler Apache::lonupload
! 293: ErrorDocument 403 /adm/login
! 294: ErrorDocument 404 /adm/notfound.html
! 295: ErrorDocument 406 /adm/unauthorized.html
! 296: ErrorDocument 500 /adm/errorhandler
! 297: </Location>
! 298:
! 299: <Location /adm/assesscalc>
! 300: PerlAccessHandler Apache::lonacc
! 301: SetHandler perl-script
! 302: PerlHandler Apache::lonspreadsheet
! 303: ErrorDocument 403 /adm/login
! 304: ErrorDocument 406 /adm/roles
! 305: ErrorDocument 500 /adm/errorhandler
! 306: </Location>
! 307:
! 308: <Location /adm/studentcalc>
! 309: PerlAccessHandler Apache::lonacc
! 310: SetHandler perl-script
! 311: PerlHandler Apache::lonspreadsheet
! 312: ErrorDocument 403 /adm/login
! 313: ErrorDocument 406 /adm/roles
! 314: ErrorDocument 500 /adm/errorhandler
! 315: </Location>
! 316:
! 317: <Location /adm/classcalc>
! 318: PerlAccessHandler Apache::lonacc
! 319: SetHandler perl-script
! 320: PerlHandler Apache::lonspreadsheet
! 321: ErrorDocument 403 /adm/login
! 322: ErrorDocument 406 /adm/roles
! 323: ErrorDocument 500 /adm/errorhandler
! 324: </Location>
! 325:
! 326: <Location /adm/chart>
! 327: PerlAccessHandler Apache::lonacc
! 328: SetHandler perl-script
! 329: PerlHandler Apache::lonchart
! 330: ErrorDocument 403 /adm/login
! 331: ErrorDocument 406 /adm/roles
! 332: ErrorDocument 500 /adm/errorhandler
! 333: </Location>
! 334:
! 335: <Location /adm/dropadd>
! 336: PerlAccessHandler Apache::lonacc
! 337: SetHandler perl-script
! 338: PerlHandler Apache::londropadd
! 339: ErrorDocument 403 /adm/login
! 340: ErrorDocument 406 /adm/roles
! 341: ErrorDocument 500 /adm/errorhandler
! 342: </Location>
! 343:
! 344: <Location /adm/printout>
! 345: PerlAccessHandler Apache::lonacc
! 346: SetHandler perl-script
! 347: PerlHandler Apache::lonprintout
! 348: ErrorDocument 403 /adm/login
! 349: ErrorDocument 500 /adm/errorhandler
! 350: </Location>
! 351:
! 352: <Location /adm/feedback>
! 353: PerlAccessHandler Apache::lonacc
! 354: SetHandler perl-script
! 355: PerlHandler Apache::lonfeedback
! 356: ErrorDocument 403 /adm/login
! 357: ErrorDocument 500 /adm/errorhandler
! 358: </Location>
! 359:
! 360: <Location /adm/evaluate>
! 361: PerlAccessHandler Apache::lonacc
! 362: SetHandler perl-script
! 363: PerlHandler Apache::lonevaluate
! 364: ErrorDocument 403 /adm/login
! 365: ErrorDocument 500 /adm/errorhandler
! 366: </Location>
! 367:
! 368: <Location /adm/preferences>
! 369: PerlAccessHandler Apache::lonacc
! 370: SetHandler perl-script
! 371: PerlHandler Apache::lonpreferences
! 372: ErrorDocument 403 /adm/login
! 373: ErrorDocument 500 /adm/errorhandler
! 374: </Location>
! 375:
! 376: <Location /adm/assignments>
! 377: PerlAccessHandler Apache::lonacc
! 378: SetHandler perl-script
! 379: PerlHandler Apache::lonassignments
! 380: ErrorDocument 403 /adm/login
! 381: ErrorDocument 406 /adm/roles
! 382: ErrorDocument 500 /adm/errorhandler
! 383: </Location>
! 384:
! 385: <Location /adm/communicate>
! 386: PerlAccessHandler Apache::lonacc
! 387: SetHandler perl-script
! 388: PerlHandler Apache::loncommunicate
! 389: ErrorDocument 403 /adm/login
! 390: ErrorDocument 500 /adm/errorhandler
! 391: </Location>
! 392:
! 393: <Location /adm/searchcat>
! 394: PerlAccessHandler Apache::lonacc
! 395: SetHandler perl-script
! 396: PerlHandler Apache::lonsearchcat
! 397: ErrorDocument 403 /adm/login
! 398: ErrorDocument 500 /adm/errorhandler
! 399: </Location>
! 400:
! 401: <Location /adm/navmaps>
! 402: PerlAccessHandler Apache::lonacc
! 403: SetHandler perl-script
! 404: PerlHandler Apache::lonnavmaps
! 405: ErrorDocument 403 /adm/login
! 406: ErrorDocument 406 /adm/roles
! 407: ErrorDocument 500 /adm/errorhandler
! 408: </Location>
! 409:
! 410: <Location /adm/groupsort>
! 411: PerlAccessHandler Apache::lonacc
! 412: SetHandler perl-script
! 413: PerlHandler Apache::groupsort
! 414: ErrorDocument 403 /adm/login
! 415: ErrorDocument 500 /adm/errorhandler
! 416: </Location>
! 417:
! 418: <Location /adm/errorhandler>
! 419: SetHandler perl-script
! 420: PerlHandler Apache::lonerrorhandler
! 421: </Location>
! 422:
! 423: # ------------------------------------------------- Backdoor Adm Tests/Programs
! 424:
! 425: <Location /cgi-bin/loncron.pl>
! 426: AuthName "LON Network Synchronization Handler"
! 427: AuthType Basic
! 428: AuthUserFile /home/httpd/lonTabs/htpasswd
! 429: require user lonadm
! 430: </Location>
! 431:
! 432: <Location /cgi-bin/metadata_keywords.pl>
! 433: AuthName "LON Keyword Handler"
! 434: AuthType Basic
! 435: AuthUserFile /home/httpd/lonTabs/htpasswd
! 436: require user lonadm
! 437: </Location>
! 438:
! 439: <Location /adm/test>
! 440: AuthName "LON Test Handler"
! 441: AuthType Basic
! 442: AuthUserFile /home/httpd/lonTabs/htpasswd
! 443: require user lonadm
! 444: SetHandler perl-script
! 445: PerlAccessHandler Apache::lonacc
! 446: PerlHandler Apache::lontest
! 447: </Location>
! 448:
! 449: # ------------------------------------------------------- Shutting down a child
! 450:
! 451: PerlChildExitHandler Apache::lonnet::goodbye
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>