Thursday, July 30, 2009

Getting PHP_AUTH_USER and PHP_AUTH_PW in Dreamhost

Dreamhost runs PHP as a CGI module, so you have to work around Apache.
It's a pretty easy fix though.

http://www.besthostratings.com/articles/http-auth-php-cgi.html