===> Begin WeBWorK::dispatch() <=== [Thu Jan 03 08:24:01.820592 2013] WeBWorK::dispatch: Hi, I'm the new dispatcher! [Thu Jan 03 08:24:01.820725 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:01.820838 2013] WeBWorK::dispatch: Okay, I got some basic information: [Thu Jan 03 08:24:01.821161 2013] WeBWorK::dispatch: The apache location is /webwork2 [Thu Jan 03 08:24:01.821279 2013] WeBWorK::dispatch: The request method is GET [Thu Jan 03 08:24:01.821398 2013] WeBWorK::dispatch: The URI is /webwork2/admin/ [Thu Jan 03 08:24:01.821547 2013] WeBWorK::dispatch: The path-info is /admin/ [Thu Jan 03 08:24:01.821663 2013] WeBWorK::dispatch: The argument string is ticket=ST-4430-Yj2TMNg3jELCBdFiy3sl-cas [Thu Jan 03 08:24:01.821775 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:01.821883 2013] WeBWorK::dispatch: The first thing we need to do is munge the path a little: [Thu Jan 03 08:24:01.822150 2013] WeBWorK::dispatch: We can't trust the path-info, so we make our own path. [Thu Jan 03 08:24:01.822268 2013] WeBWorK::dispatch: path-info claims: /admin/ [Thu Jan 03 08:24:01.822376 2013] WeBWorK::dispatch: but it's really: /admin/ [Thu Jan 03 08:24:01.822488 2013] WeBWorK::dispatch: (if it's empty, we set it to "/".) [Thu Jan 03 08:24:01.822598 2013] WeBWorK::dispatch: ...and here it is without repeated slashes: /admin/ [Thu Jan 03 08:24:01.822710 2013] WeBWorK::dispatch: ...and here it is with a trailing slash: /admin/ [Thu Jan 03 08:24:01.823861 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:01.824114 2013] WeBWorK::dispatch: Now we need to look at the path a little to figure out where we are [Thu Jan 03 08:24:01.824248 2013] WeBWorK::dispatch: -------------------- call to WeBWorK::URLPath::newFromPath [Thu Jan 03 08:24:01.824553 2013] WeBWorK::URLPath::debug: visitPathTypeNode: visiting node root with path /admin/ [Thu Jan 03 08:24:01.824760 2013] WeBWorK::URLPath::debug: visitPathTypeNode: trying to match (?-xism:^/): [Thu Jan 03 08:24:01.825158 2013] WeBWorK::URLPath::debug: success! [Thu Jan 03 08:24:01.825286 2013] WeBWorK::URLPath::debug: visitPathTypeNode: but path remains: admin/ [Thu Jan 03 08:24:01.825408 2013] WeBWorK::URLPath::debug: visitPathTypeNode: trying child course_admin: [Thu Jan 03 08:24:01.825522 2013] WeBWorK::URLPath::debug: visitPathTypeNode: visiting node course_admin with path admin/ [Thu Jan 03 08:24:01.825645 2013] WeBWorK::URLPath::debug: visitPathTypeNode: trying to match (?-xism:^(admin)/): [Thu Jan 03 08:24:01.825779 2013] WeBWorK::URLPath::debug: success! [Thu Jan 03 08:24:01.826422 2013] WeBWorK::URLPath::debug: visitPathTypeNode: setting argument courseID => admin. [Thu Jan 03 08:24:01.826543 2013] WeBWorK::URLPath::debug: visitPathTypeNode: no path left, type is course_admin [Thu Jan 03 08:24:01.826725 2013] WeBWorK::dispatch: -------------------- call to WeBWorK::URLPath::newFromPath [Thu Jan 03 08:24:01.826907 2013] WeBWorK::dispatch: The display module for this path is: WeBWorK::ContentGenerator::CourseAdmin [Thu Jan 03 08:24:01.827060 2013] WeBWorK::dispatch: ...and here are the arguments we'll pass to it: [Thu Jan 03 08:24:01.827172 2013] WeBWorK::dispatch: courseID => admin [Thu Jan 03 08:24:01.827372 2013] WeBWorK::dispatch: Reconstructing the original path gets us: /admin/ [Thu Jan 03 08:24:01.827483 2013] WeBWorK::dispatch: And we can generate the path to our parent, too: / [Thu Jan 03 08:24:01.827610 2013] WeBWorK::dispatch: (We could also figure out who our children are, but we'd need to supply additional arguments.) [Thu Jan 03 08:24:01.827711 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:01.827815 2013] WeBWorK::dispatch: The URLPath looks good, we'll add it to the request. [Thu Jan 03 08:24:01.828009 2013] WeBWorK::dispatch: Now we want to look at the parameters we got. [Thu Jan 03 08:24:01.828111 2013] WeBWorK::dispatch: The raw params: [Thu Jan 03 08:24:01.828366 2013] WeBWorK::dispatch: ticket => 'ST-4430-Yj2TMNg3jELCBdFiy3sl-cas' [Thu Jan 03 08:24:01.828476 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:01.828641 2013] WeBWorK::dispatch: We need to get a course environment (with or without a courseID!) [Thu Jan 03 08:24:01.857485 2013] WeBWorK::dispatch: Here's the course environment: WeBWorK::CourseEnvironment=HASH(0x7f2fa9866368) [Thu Jan 03 08:24:01.859463 2013] WeBWorK::dispatch: Using user_authen_module WeBWorK::Authen::CAS: WeBWorK::Authen::CAS=HASH(0x7f2fa97f6360) [Thu Jan 03 08:24:01.859649 2013] WeBWorK::dispatch: We got a courseID from the URLPath, now we can do some stuff: [Thu Jan 03 08:24:01.859799 2013] WeBWorK::dispatch: ...we can create a database object... [Thu Jan 03 08:24:01.920000 2013] WeBWorK::dispatch: (here's the DB handle: WeBWorK::DB=HASH(0x7f2fa93520b0)) [Thu Jan 03 08:24:01.922527 2013] WeBWorK::Authen::verify: BEGIN VERIFY [Thu Jan 03 08:24:01.923021 2013] WeBWorK::Authen::CAS::get_credentials: service = https://webwork.tamucc.edu/webwork2/admin/ [Thu Jan 03 08:24:02.19424 2013] WeBWorK::Authen::CAS::get_credentials: ticket error [Thu Jan 03 08:24:02.21533 2013] WeBWorK::Authen::verify: END VERIFY [Thu Jan 03 08:24:02.21957 2013] WeBWorK::dispatch: Bad news: authentication failed! [Thu Jan 03 08:24:02.22064 2013] WeBWorK::dispatch: set displayModule to WeBWorK::ContentGenerator::Login [Thu Jan 03 08:24:02.22237 2013] WeBWorK::dispatch: -------------------------------------------------------------------------------- [Thu Jan 03 08:24:02.22436 2013] WeBWorK::dispatch: Finally, we'll load the display module... [Thu Jan 03 08:24:02.22712 2013] WeBWorK::dispatch: ...instantiate it... [Thu Jan 03 08:24:02.23028 2013] WeBWorK::dispatch: ...and call it: [Thu Jan 03 08:24:02.23139 2013] WeBWorK::dispatch: -------------------- call to WeBWorK::ContentGenerator::Login::go [Thu Jan 03 08:24:02.30484 2013] WeBWorK::dispatch: -------------------- call to WeBWorK::ContentGenerator::Login::go [Thu Jan 03 08:24:02.31007 2013] WeBWorK::dispatch: returning result: 0