RE: Making mod_auth_digest mysql

2009-02-06 Thread Michele Waldman
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

Re: Making mod_auth_digest mysql

2009-02-06 Thread Eric Covener
On Fri, Feb 6, 2009 at 8:49 AM, Michele Waldman mmwald...@nyc.rr.com wrote: I mean to check server environment variables which is what REMOTE_USER is. This might be better off on us...@httpd.apache.org I just want to know if the variable is defined on the server then I could do this:

Re: Making mod_auth_digest mysql

2009-02-06 Thread Dave Ingram
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