Logging

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Proculopsis
-


Joined: 25 Feb 2013
Posts: 2

PostPosted: Mon Feb 25, 2013 3:06 pm    Post subject: Logging Reply with quote

I'm an Abyss noob, so forgive me if this is a dumb question:

I use the Hosts file from http://winhelp2002.mvps.org/hosts.htm to trap all sorts of unpleasant browser activity.

This gets redirected to 127.0.0.1 for the Abyss Web Server to handle and I get a nice indication of any abuse embedded in any web page:

Code:
Error 404
Not Found
________________________________________
Powered by Abyss Web Server X1
Copyright © Aprelium - 2001-2012


Occasionally there is some activity that I want to permit, so I looking for a couple of things:

1. Can I get the Log File to record the Host Web Server address, such as wwwDOTdeepcomDOTcom (propagates TrojanDropper.Win32.Small.gt virus) instead of just the Path from the URI;

2. Is there a way to drop some JavaScript into the 404 error handler.

Any ideas anyone?
Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Wed Feb 27, 2013 1:31 pm    Post subject: Re: Logging Reply with quote

Proculopsis wrote:
1. Can I get the Log File to record the Host Web Server address, such as wwwDOTdeepcomDOTcom (propagates TrojanDropper.Win32.Small.gt virus) instead of just the Path from the URI;


Each log line contains the IP of the computer which made the request. You can postprocess your log file with any decent log anayzing tool to have these IPs reverse-looked up.

Quote:
2. Is there a way to drop some JavaScript into the 404 error handler.


You can configure the server to use custom error pages you have crafted (where you can drop the Javascript chunk.) More about that feature is available in http://www.aprelium.com/data/doc/2/abyssws-win-doc-html/hosts-configuration.html#HOSTS-CUSTOMERRORS
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
Proculopsis
-


Joined: 25 Feb 2013
Posts: 2

PostPosted: Thu Feb 28, 2013 8:25 am    Post subject: Logging Reply with quote

Thanks for the reply.

I solved point 1:

Code:
Abyss Web Server Console :: Server Configuration :: Logging Parameters :: Custom Logging Formats
Source: CGI Variable
Name: Other Variable (SERVER_NAME)


I shall follow your advice on point 2.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group