Total Pageviews

Sunday, February 24, 2019

how to get uid when using mod auth mellon for PHP application


 If I add one line to mellon.conf:


MellonUser "uid"

then Apache (or maybe it's Mellon) will populate the $_SERVER['PHP_AUTH_USER'] property that PHP applications need in order to identify a user with the UID from the directory.  That reduces the dependency on headers

No comments:

Post a Comment