Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   apache 2.2 not showing referers (http://www.greenguysboard.com/board/showthread.php?t=43935)

hashbury 2007-11-18 12:59 AM

apache 2.2 not showing referers
 
anyone one know how to make apache 2.2 on windows show the refering link

hashbury 2007-12-22 07:54 PM

I still need some help on this one, I think its the config file for apache that needs to be edited. I have tried to edit many times and just end up fuking up apache.

If anyone can help me with this i can post the HTTP server configuration file

thanks

horney 2008-01-09 06:35 AM

Apache is made for *nix and runs much more happily on *nix machines. As Linux is more reliable, and there is tons of help freely available for any problems you may encounter, why not just switch and not encounter the problems in the first place?

cd34 2008-01-26 05:19 PM

There is a section in the apache config for your site that probably says:

CustomLog /path/to/access.log common

You want to change common to combined

If in the main apache config you cannot find a definition for combined, or, it complains on restart:

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

is the line that you need somewhere in your config to define combined logging which will show referrers. (Though, apache through the wisdom of an early typo has decided to misspell referrer for years).

hashbury 2008-01-26 09:51 PM

Thanks cd34
Wow, it took me 30 seconds to fix this once you showed me. Ive been working on this problem for a long time.
Thank you very much.


All times are GMT -4. The time now is 07:59 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc