httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zac Stevens <...@cryptocracy.com>
Subject Re: [users@httpd] Apache 2.0.40, mod_headers and RequestHeader
Date Tue, 17 Sep 2002 07:41:55 GMT
On Tue, Sep 17, 2002 at 10:27:01AM +0200, Clement.LASSERE@edf.fr wrote:
> Header add  Hostname  "%{HTTP_HOST}"
> 
> But when I try to start apache, it complains about a syntax error
> concerning this line :
> 
> Syntax error on line 1291 of /path_to_apache-2.0/conf/httpd.conf:
> Unrecognized Header or RequestHeader directive %

As I understand it, the format for specifying environment variables in the
Header directive is "%{var}e" - note the trailing 'e'.

I suspect this is the reason why your example is failing.

HTH,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message