Enabling AuthDigest on Apache 2.2.16

topdog

Verified User
Joined
Jun 22, 2009
Messages
135
hi,
I'm running the latest DA version, CentOS 5.5 final 64 bit, and Apache 2.2.16.
I'm trying to enable the mod_auth_digest module, but can't seem to figure out how to.
Doing, as root: httpd -l
Doesn't show the digest module compiled in, although the htdigest program is present.
I tried putting in, as a test, in the /usr/local/directadmin/custombuild/custom/ap2/configure.apache file at the end
--enable-auth-digest \
It says that the command wasn't found during the configuration.
I'm attempting to enable this for WebDav, because in my domain's HTTPD log it says, as an error:
access to /webdisk failed, reason: verification of user id '<null>' not configured
I'd assume then that means I don't have the mod_auth_digest module loaded?
 
I tried putting in, as a test, in the /usr/local/directadmin/custombuild/custom/ap2/configure.apache file at the end
--enable-auth-digest \
It says that the command wasn't found during the configuration.
That's correct that you are getting the error.

It should look something like this
"--enable-proxy-http" \
"--enable-ldap" \
"--enable-authnz-ldap" \
"--enable-info" \
"--with-ldap" \
"--with-ssl=/usr" \
"--enable-headers" \
"--enable-cache" \
"--enable-mem-cache" \
"--enable-disk-cache" \
"--enable-file-cache" \
"--enable-auth-digest"
And not (what you did, as you are saying)
"--enable-proxy-http" \
"--enable-ldap" \
"--enable-authnz-ldap" \
"--enable-info" \
"--with-ldap" \
"--with-ssl=/usr" \
"--enable-headers" \
"--enable-cache" \
"--enable-mem-cache" \
"--enable-disk-cache" \
"--enable-file-cache"
"--enable-auth-digest" \
 
That's correct that you are getting the error.

It should look something like thisAnd not (what you did, as you are saying)
The error still persists.
/usr/local/directadmin/custombuild/custom/ap2/configure.apache: line 36: --enable-auth-digest: command not found

*** There was an error while trying to configure Apache 2. Check the custom/ap2/configure.apache file
Within that file is:
"--enable-auth-digest" \
Again, this is for Apache 2.2.16, not Apache1.
 
This still doesn't want to compile.
Attached is my configure.apache file
I had to rename it to configure.apache.txt for upload, but hopefully I didn't put in the wrong syntax for mod_auth_digest
 

Attachments

Ok finally got it to compile.
Your example had extra modules and I was confused.
As I don't have these extra mods I adapted the example.
After the enable headers statement I put a \
Then put
"--enable-auth-digest"
And it compiled.
The only problem now is when I try and upload any index.html or similar file, it gives in my error log an http error 405 error message.
Windows displays a warning that it cannot upload the file. yet any other file .txt .php uploads fine.
 
The only thing I can see in any log file, in particular my access log, is this:
[25/Aug/2010:20:35:37 -0400] "PROPFIND /disk/index.html HTTP/1.1" 405
Any other file uploads fine. Windows actually gives a retry and cancel button and just keeps looping back to the retry and cancel buttons.
 
Back
Top