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



Reply via email to