W3C home > Mailing lists > Public > www-validator@w3.org > September 1999

apache & basic auth

From: Steven Drake <sdrake@ihug.co.nz>
Date: Sat, 18 Sep 1999 05:09:25 +1200 (NZST)
To: W3C Validator <www-validator@w3.org>
Message-ID: <Pine.LNX.4.05.9909180458170.5946-100000@sirius.aquila.net.nz>
instead of compiling apache with SECURITY_HOLE_PASS_AUTHORIZATION defined
try this ugly hack

compile apache with mod_rewrite, then put this in httpd.conf

ReWriteEngine On
ReWriteRule ^/check(.*) /cgi-bin/check$1 

the ReWriteRule don't do much but the E flag is the important bit.

ugly but it works

Steven Drake <sdrake@ihug.co.nz>
      1: Linux - will work for fish.
      2: The Linux penguin - looks stuffed to the brim with herring.
( make your own conclusions )
Received on Friday, 17 September 1999 12:55:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:25 UTC