Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache logs

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Capacity of users?  
Author Message
A. Bester

External


Since: Feb 25, 2005
Posts: 6



(Msg. 1) Posted: Thu Mar 10, 2005 4:35 pm
Post subject: Apache logs
Archived from groups: alt>apache>configuration (more info?)

Hi guys, I'm lookin' for a little help again if poss plz. Your last
suggestions helped me a great deal so I thought I would try again.

I have borrowed the following server script to try and stop virus
logging to my default log, however I am getting an intermittent
problem. Occasionally the whole log turns into a complete Japanese
character set. At this point I usually have to delete the log and
start a new one, which is usually fine. Incidentally it will convert
the entire current log into Japanese, not just from a certain point
onwards.

Any help would be appreciated. By the way, I'm not overly familiar
with Perlscript unfortunately, so I am relying on the following script
to be correct by whoever wrote it. Apologies for my lack of knowledge
in this area.

Thanks in advance

Stevie


The script follows: (inside the <virtualhost> section)

#The following code attempts to stop virus attempt loging
#
# Code Red
SetEnvIf Request_URI "^/default\.(idaidq)(.*)$" msjunk nolog
SetEnvIf Request_URI "^/default\.ida(.*)$" msjunk nolog
#
# Nimda
SetEnvIf Request_URI "(cmdrootshell)\.exe(.*)$" msjunk nolog
SetEnvIf Request_URI "(adminhttpodbc)\.dll(.*)$" msjunk nolog
#
# Windows Media Attack
SetEnvIf Request_URI "nsiislog\.dll(.*)$" msjunk nolog
#
# MS webdav Attack
SetEnvIfNoCase Request_URI "\/\x90\x02" msjunk nolog
#
SetEnvIf Request_URI "^PROPFIND(.*)$" msjunk nolog
SetEnvIf Request_URI "^POST \/_vti_bin" msjunk nolog
#
# Don't log local requests
SetEnvIf Remote_Addr "xxx\.xxx\.xxx\.xxx" nolog
[ip address masked for security]
#
CustomLog logs/msjunk_log combined env=msjunk
CustomLog "|bin/rotatelogs.exe c:/logs/logfile 86400" common
env=!nolog

 >> Stay informed about: Apache logs 
Back to top
Login to vote
A. Bester

External


Since: Feb 25, 2005
Posts: 6



(Msg. 2) Posted: Thu Mar 10, 2005 4:35 pm
Post subject: Re: Apache logs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

P.S.

I forgot to mention, the layout in the final stages of the log
physically look like a webdav report (long list of similar looking
characters). I got a feeling it is a dodgy perlscript command on my
part, but I may be wrong (dodgy escape code or something...)

 >> Stay informed about: Apache logs 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache logs - My Server logs show: -rw-r--r-- 1 root root 1550525 Jun 16 09:31 error_log -rw-r--r-- 1 root root 2609619 Jun 16 09:30 access_log My apache is stored in usr folder and its showing 98 % full so I have to remove logs files.>. ....

Apache Logs - newbie - So, I left my default apache running on mandrake 9.2. I have a bunch of these in my /etc/httpd/logs/access_log. Where do I go to find a list or DB of entries should expect to see in the logs, what they mean, etc? If someone has a better group for me t...

apache access logs - I have an apache web server doing virtual hosting. I have each domain storing its on log files seperate from others. I have 3 web servers all doing same for multiple domains. All webservers do as expected except for one. One server seems to backup it...

Apache-Log, Webalizer, Country-Logs - Hello, there is an issue with the Apache log analysis: The country codes are not resolved and dislayed by webalizer (.com .uk ..de....). CountryGraph yes is set, graph is displayed, but no differences are shown (100% unknown). Example of Apache log:..

difference of piped logs in Apache 1.3x and 2.x - hi, I have a question concerning the piped log mechanism of Apache. It makes it possible to treat a proram like a logfile and pipe the Apache log stream to it. This feature is also available in Apache 2.0, but I noticed a changed behaviour. Maybe I used...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]