www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Jae Weinstein <rw...@is7.nyu.edu>
Subject Re: config/3000: BrowserMatch(NoCase)/SetEnvIf(NoCase) allowed in htaccess
Date Sun, 27 Sep 1998 15:29:27 GMT
With the new 'IfDefine' directive, it would be great if we could allow in
the .htaccess file items like:

SetEnvIf HTTP_USER_AGENT "^Mozilla/[0-3]" Netscape
<IfDefine !Netscape>
 # Set non-netscape stuff here.
</IfDefine>

Yet another advantage to allow SetEnvIf in .htaccess.  This also calls for
a change in IfDefine. Currently, IfDefine's parameter-name argument is a
define as given on the httpd command line via -Dparameter-, at the time
the server was started. Would be better to allow it to also use the
attributes from SetEnv.

-Cheers,
 RJW




Mime
View raw message