You are not logged in.
Hi,
I'm having a weird problem with apache. In a website that I have the dev env for here on my archlinux machine, I have this in the .htaccess:
<IfDefine !HALFGAARSMACHINE>
AuthName "stats"
AuthType Digest
AuthDigestFile /secretblabla
<Files mienstats.cgi>
require valid-user
</Files>
</IfDefine>The HALFGAARSMACHINE var is set in /etc/conf.d/apache:
#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
OPTIONS="-D HALFGAARSMACHINE"The AuthDigestFile no longer works in Apache 2.2, but because my webhost uses Apache 1.3, I need to make it optional with the "IfDefine" for when it runs on their machines.
This configuration worked on my old Gentoo machine, but here, it doesn't seem that HALFGAARSMACHINE is set. When I reverse the logic of the IfDefine, it works fine.
Can anybody help me out here? I really don't get it...
Offline