| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Proculopsis -
 
 
 Joined: 25 Feb 2013
 Posts: 2
 
 
 | 
			
				|  Posted: Mon Feb 25, 2013 3:06 pm    Post subject: Logging |   |  
				| 
 |  
				| 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 |     | 
	
		|  | 
	
		| aprelium-support -
 
 
 Joined: 20 Feb 2009
 Posts: 356
 
 
 | 
			
				|  Posted: Wed Feb 27, 2013 1:31 pm    Post subject: Re: Logging |   |  
				| 
 |  
				|  	  | 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 |       | 
	
		|  | 
	
		| Proculopsis -
 
 
 Joined: 25 Feb 2013
 Posts: 2
 
 
 | 
			
				|  Posted: Thu Feb 28, 2013 8:25 am    Post subject: Logging |   |  
				| 
 |  
				| 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 |     | 
	
		|  | 
	
		|  |