Revision [16269]

This is an old revision of Webauth made by GuyEdwards on 2007-03-09 05:37:32.

 

Using Webauth to identify the users

The webauth Apache module, and any other apache authentication module should set $_SERVER[REMOTE_USER] once the user is authenticated.

so in

comment out the existing line and replace:

(approx line 808 in libs/Wakka.class.php)
//      function GetUser() { return (isset($_SESSION["user"])) ? $_SESSION["user"] : NULL; }
		function GetUser() { return (isset($_SERVER["REMOTE_USER"])) ? $_SERVER["REMOTE_USER"] : NULL; }


It now appears to be authenticating the user however the usernames used by webauth (at this location) aren't valid Wiki Formatted names.
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki