httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zac Stevens <>
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, 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.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message