RE: 404's to robots.txt?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Evan Platt [mailto:evan@xxxxxxxxxxxxxxxxxx] 
> Sent: Wednesday, July 22, 2009 10:44 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re:  404's to robots.txt?
> 
> At 06:03 PM 7/21/2009, you wrote:
> 
> >More than 1 docroot / log %{Host}i ?
> 
> Ahh.. I believe that's it! Thank you and the others who suggested 
> that, I believe that's it - I have a few subdomains I rarely use...
> 
> My current httpd.conf is:
> 
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i 
> \"%{User-agent}i\" combined
> 
> Is there a better format ...

It's right above you... >>> %{Host}i <<< logs the Host header from the
request, eg:

LogFormat "%h %l %u %t %{Host}i \"%r\" %>s %b \"%{Referer}i 


> for that so instead of:
> 
> 1.2.3.4 - - [22/Jul/2009:13:31:28 -0700] "GET /images/favicon.ico 
> HTTP/1.1" 200 1150
> 
> I'd get
> 
> 1.2.3.4 - - [22/Jul/2009:13:31:28 -0700] "GET 
> www.mydomain.com/images/favicon.ico HTTP/1.1" 200 1150
> 
> I do have a few rarely used subdomains - but anything .mydomain.com 
> goest to my apache.
> 
> Thanks. :) 
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their networks.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux