Jump to content

Recommended Posts

Posted

As I have for a few other sites, I'm writing a simple PHP-based digest auth. However, for some reason it isn't working on Heliohost (my lu.heliohost.org).

 

I've confirmed, using Wireshark, that the Authenticate header is actually getting sent from the browser:

 

Authorization: Digest username=\"gtoombs\", realm=\"lu.heliohost.org/cellrepair\", nonce=\"a120c81273e142ad51f781647dfbf4a6\", uri=\"/cellrepair/hashtest.php\", algorithm=MD5, response=\"e019b2f521d16e90a4c31ee27200b276\", opaque=\"789a54386ec7b7480117fa979351d9cb\", qop=auth, nc=00000001, cnonce=\"73b777d243a0a3e2\"

 

Unfortunately, from PHP, neither $_SERVER['Authorization'] nor $_SERVER['PHP_AUTH_DIGEST'] are set, and apache_request_headers() does not work. It seems to me that this could be a server configuration issue?

Posted


root@johnny [/home/krydos1]# /usr/sbin/httpd -M | grep digest
Syntax OK
auth_digest_module (static)

Johnny does.


root@stevie [/home/krydos]# /usr/sbin/httpd -M | grep digest
Syntax OK

Stevie does not.

 

Your options are to wait for the next rebuild of Stevie apache, or move your account to Johnny http://wiki.helionet...ng_your_account

 

I'm also escalating this thread as a reminder to include this in the next Stevie build.

  • 4 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...