PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > [apache 1.3.x] logging *entire* request header set?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

[apache 1.3.x] logging *entire* request header set?

Réponse
 
LinkBack Outils de la discussion
Vieux 27/05/2005, 22h11   #1
Eli the Bearded
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [apache 1.3.x] logging *entire* request header set?

Hey all,

I've got some servers running various Apache 1.3.x instances, most with
PHP 4 installed as a module. I'm looking to find a way to log the
entire client request (at least a smattering of pages) starting with
the request line and including all of the headers.

I know with CGI programs I can get the headers from the environment,
and I've found a way with PHP to access the headers as an array, but
both of these lose the header order.

Anyone have ideas?

Elijah
------
has been logging the reordered headers for lack of something better
  Réponse avec citation
Vieux 27/05/2005, 23h06   #2
Paul Rubin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [apache 1.3.x] logging *entire* request header set?

Eli the Bearded <*@eli.users.panix.com> writes:
> I know with CGI programs I can get the headers from the environment,
> and I've found a way with PHP to access the headers as an array, but
> both of these lose the header order.
>
> Anyone have ideas?


For debugging purposes I've generally done that with the junkbuster
proxy. If it's for production you probably want to find something
less kludgy.
  Réponse avec citation
Vieux 28/05/2005, 18h52   #3
Eli the Bearded
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [apache 1.3.x] logging *entire* request header set?

In comp.infosystems.www.servers.unix,
Paul Rubin <http://phr.cx@NOSPAM.invalid> wrote:
> Eli the Bearded <*@eli.users.panix.com> writes:
> > I know with CGI programs I can get the headers from the environment,
> > and I've found a way with PHP to access the headers as an array, but
> > both of these lose the header order.
> > Anyone have ideas?

> For debugging purposes I've generally done that with the junkbuster
> proxy. If it's for production you probably want to find something
> less kludgy.


I don't want to stick a proxy in front of my website for capturing the
incoming traffic. For capturing stuff from my own browser I have used
proxies, but now favor Firefox's Live HTTP Headers plugin (at mozdev).

I'd like to be able to capture all headers for things like web robots
and exploit attempts.

Elijah
------
doing it in apache makes it easier to capture non-ErrorDocument handled errors
  Réponse avec citation
Vieux 28/05/2005, 19h00   #4
Paul Rubin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [apache 1.3.x] logging *entire* request header set?

Eli the Bearded <*@eli.users.panix.com> writes:
> I'd like to be able to capture all headers for things like web robots
> and exploit attempts.


If you're going to capture and record incoming passwords and
authentication , you may be creating worse exploits (in
the form of the log file itself becoming a juicy target) than you're
solving. You have to be careful with this kind of thing.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 13h41.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14686 seconds with 12 queries