httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Haase-Thomas <>
Subject Re: Passing CGI environment to auth
Date Mon, 11 Feb 2002 08:08:39 GMT
Hmm, perhaps mod_rewrite may help you:

RewriteRule (.*) $1 [E=REQUEST_URI:$1]

Looks a bit weird, and i've never tried it so far, but maybe... ;)

Ryan Thompson wrote:

>Hi all,
>Hopefully what I'm doing isn't so strange that nobody knows what I'm
>trying to do. :-)
>Basically, I need an external auth program (used with mod_auth_any, or
>mod_auth_external.. I don't really care which) to be able to see the
>standard CGI variables, like DOCUMENT_URI. I need to do this so I can
>authorize users based on user, pass AND the requested document.
>When I set up an auth program with mod_auth_any, for example, the user
>and password are send as command line arguments. The DOCUMENT_URI
>environment variable, however, is not defined.
>I won't swear to it, but I thought I'd tried this with apache 1.3.20
>and it worked. I'm using 1.3.22 now.
>- Ryan

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message