Forum Moderators: phranque

Message Too Old, No Replies

Digest auth error

         

ShaF

4:12 pm on Nov 17, 2008 (gmt 0)

10+ Year Member



Hi Guys

I am trying to setup Digest authorization for one of my virtual hosts. The problem is when I try to start apache I get the following error:

Invalid command 'AuthDigestDomain', perhaps misspelled or defined by a module not included in the server configuration

Below is my configuration in the vhosts conf file:


NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot /www/sites/site1
ServerName www10.site.local
<Location /sites/>
AuthType Digest
AuthName MySite
AuthDigestDomain [www10.site.local...]
AuthDigestProvider file
AuthUserFile /usr/auth/.digest_pw
Require valid-user
</Location>
</VirtualHost>

Does anyone know where I am going wrong? I am running the latest version of apache.
.
.
.
.
.
.
.

jdMorgan

9:10 pm on Nov 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know much about the specifics, but it sounds like mod_auth_digest is not loaded on this server. Check the LoadModule list to be sure.

Jim

ShaF

10:03 pm on Nov 17, 2008 (gmt 0)

10+ Year Member



It isnt loaded.. How do I load it?

jdMorgan

10:17 pm on Nov 17, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The same way the other modules are loaded, by including it in the LoadModule list if the .so files exists. If not, then you may have to re-compile Apache to include it. That's all I can really tell you about the subject, though... :(

Jim

ShaF

10:27 pm on Nov 17, 2008 (gmt 0)

10+ Year Member



Well the so file doesn't exist :( - How do I include it then? Sorry, Im a noob on apache!