View Single Post
Old 12-01-2004, 10:37 PM  
European Lee
Confirmed User
 
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
Quote:
Originally posted by spanno
hi its going ok but england is cold, where do you live now then ?

if I have got this straight and you want to run a script in the background if a certain IP hits anywhere on the entire server ?

what you wanna do I can't think how to do with rewriting or modules but I maybe missing something basic like some setenvif bussiness

the only way I can think of doing it right now what I would do is make a custom log format that outputs just the IP (and any other details you need for it)

and set this in the main server config to pipe it thru a perl script and either run whatever you wanted in that script or get it to run whatever from the shell

what r u trying to do exactly ?
Im in Sunny Daytona Beach now

Basically, when a certain 'ip' hits my server, regardless of which domain it hits, i want an email to be sent to me so i know what time / date the ip accessed the server.

Nothing fancy, just something as simple as that

Regards,

Lee
European Lee is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote