I mean to check server environment variables which is what REMOTE_USER is.
I just want to know if the variable is defined on the server then I could do
this:
RewriteEngine On
RewriteCond %{REMOTE_USER} -e
RewriteRule ^(.*)$ - [S=1]
RewriteRule ^.*$ http://domain/login.html [R]
Right now when REM
On Fri, Feb 6, 2009 at 8:49 AM, Michele Waldman wrote:
> I mean to check server environment variables which is what REMOTE_USER is.
This might be better off on [email protected]
> I just want to know if the variable is defined on the server then I could do
> this:
>
> RewriteEngine On
> Rew
The -f and -d flags for RewriteCond are for checking the file system,
not environment variables, although they can use environment variables
if necessary. For example:
RewriteCond %{DOCUMENT_ROOT}/%{ENV:foo} -d
would check that the folder named by the environment variable "foo"
exists in the docu
Hi,
I am new to Apache module programming. Can some help me on following points:
1. I am trying to compile Apache 2.2.11 win32 sources on VS 2005, but
facing compilation error
1>-- Build started: Project: mod_actions, Configuration: Debug Win32 --
1>Compiling...
1>mod_actions.c
1>C
The isn't one. I'm talking about writing it.
-Original Message-
From: Eric Covener [mailto:[email protected]]
Sent: Friday, February 06, 2009 9:24 AM
To: [email protected]
Subject: Re: Making mod_auth_digest mysql
On Fri, Feb 6, 2009 at 8:49 AM, Michele Waldman
wrote:
> I me