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:40:01 GMT
The following reply was made to PR config/3000; it has been noted by GNATS.

From: Randy Jae Weinstein <rw263@is7.nyu.edu>
To: apbugs@Apache.Org
Cc:  Subject: Re: config/3000: BrowserMatch(NoCase)/SetEnvIf(NoCase) allowed in htaccess
Date: Sun, 27 Sep 1998 11:33:28 -0400 (EDT)

 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