Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with apache logs

Status
Not open for further replies.

alxkn

Programmer
Aug 24, 2006
5
US
Hello,

In some data recorded in our log files we are missing information about referer. For example
195.229.242.55 - - [14/Dec/2005:04:53:03 -0800] "GET
/ HTTP/1.1" 200 10081
""Mozilla/4.0 (compatible; MSIE 6.0; Windows 98;
bgft)"

As you see the referer is replaced by the requested URL.

Few of requests, have the referer, however. For example,
195.229.242.55 - - [14/Dec/2005:04:53:01 -0800] "GET
/?REQUEST=SEM&ID=DERMALOGICA&ovmkt=5V2G4DLE5I43O9SEC8ML962GDC
HTTP/1.1" 200 87070 " "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; bgft)"


Does anyone knows what is the problem with our apache server?

Thanks in advance.
 
There is very likely nothing wrong with your server.

The referer is a value that must be reported by the browser, and a lot of browsers (Firefox and Opera for certain) give the user the ability to turn off referer reporting.



Want the best answers? Ask the best questions! TANSTAAFL!
 
Hi

Just as sleipnir214 wrote. Because seems that you expect too much from the referrer headers, I would like to point out how prevailing is to disable/fake them, by showing a "screenshot" of related settings from Links, a very simple browser.

[tt][highlight silver]| [X] No referer |
| [ ] Send requested URL as referer |
| [ ] Send real referer (normal operation, INSECURE!!!) |
| [ ] Fixed referer |
| |
| Fixed HTTP Referer |
| [/highlight][highlight black]. .[/highlight][highlight silver] |[/highlight][/tt]

So even if you receive a referrer, you can not know if it is real or fake.

Feherke.
 
Hello,

Thank you for your answers. I wondered if there is a way of looking to those requests that has been sent to our server?

Thanks.
 
I ment the http headers of a request that is sent to the sever when someone visits our web site.
 
Yes. At least to take a look to a few of them.
 
our httpd.conf has the following.

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

CustomLog logs/access_log combined


I do not see any problem with this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top