You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Charan <ch...@gmail.com> on 2010/09/03 18:39:37 UTC

[users@httpd] HTTP_HOST in logs

Hello,

I'm using rewrite module to redirect some of the aliases.I have configured
around 10 aliases like this. How can I get the alias name in the access
logs. I don't want to use rewrite log here.


Thanks,
Charan

Re: [users@httpd] HTTP_HOST in logs

Posted by Charan <ch...@gmail.com>.
thanks a lot.

It works

Thanks,
Charan


On Sat, Sep 4, 2010 at 2:30 AM, Rainer Jung <ra...@kippdata.de> wrote:

> On 03.09.2010 18:39, Charan wrote:
>
>> Hello,
>>
>> I'm using rewrite module to redirect some of the aliases.I have
>> configured around 10 aliases like this. How can I get the alias name in
>> the access logs. I don't want to use rewrite log here.
>>
>
> What about:
>
> %{Host}i
>
> Regards,
>
> Rainer
>
>
> ---------------------------------------------------------------------
> 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
>
>

Re: [users@httpd] HTTP_HOST in logs

Posted by Rainer Jung <ra...@kippdata.de>.
On 03.09.2010 18:39, Charan wrote:
> Hello,
>
> I'm using rewrite module to redirect some of the aliases.I have
> configured around 10 aliases like this. How can I get the alias name in
> the access logs. I don't want to use rewrite log here.

What about:

%{Host}i

Regards,

Rainer

---------------------------------------------------------------------
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