LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2011, 11:10 AM   #1
genderbender
Member
 
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Rep: Reputation: 31
apache and mod_clamav


I've got apache running a webdav folder, I would like to implement mod_clamav to protect this folder - however I'm not having much success. Here's a copy of the relevant bits of code:

Code:
ClamavMode local
ClamavTmpdir /tmp/clamav
ClamavDbdir /var/clamav
ClamavExtendedLogging on
ClamavRecursion 5
<Proxy *>
    SetOutputFilter CLAMAV
</Proxy>

<Location /clamav>
        SetHandler clamav
</Location>
Logs are empty and the www.myserver.com/clamav page displays lots of statistics (all with 0 in them), I can run scans locally without any problems. Any ideas?
 
Old 01-27-2011, 05:04 PM   #2
ADxD_7
Member
 
Registered: May 2007
Location: CO
Distribution: Solaris , Redhat , Debian
Posts: 152

Rep: Reputation: 23
Please post all of your "LoadModule" lines from your apache2 httpd.conf file.
 
Old 01-28-2011, 04:41 AM   #3
genderbender
Member
 
Registered: Jan 2005
Location: US
Distribution: Centos, Ubuntu, Solaris, Redhat
Posts: 396

Original Poster
Rep: Reputation: 31
I'll post the relevant stuff:

Code:
[root@server ~]# grep mod_clamav.so /etc/httpd/conf/httpd.conf
LoadModule clamav_module      /usr/lib64/httpd/modules/mod_clamav.so
[root@server ~]# ls -al /usr/lib64/httpd/modules/mod_clamav.so
-rwxr-xr-x 1 root root 158178 Jan 25 15:21 /usr/lib64/httpd/modules/mod_clamav.so
Reading through the clamav mod, it looks like it will only function when apache acts as a proxy, I want it to virus scan everything no just content passed through in proxy mode (I suspect thats why it doesn't work).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Integrate ClamAV (Through mod_clamav) Into ProFTPd For Virus Scanning On Ubuntu 10.04 LXer Syndicated Linux News 0 10-28-2010 09:40 AM
mod_clamav does not detect virus suhas! Linux - Security 2 07-28-2009 10:14 AM
mod_clamav 0.23 compile problem saavik Linux - Software 14 05-27-2009 05:15 AM
max. filesize for custom log in mod_clamav saavik Linux - Server 2 05-20-2008 01:25 AM
mod_clamav doesn`t scan zip-Files saavik Linux - Security 6 02-06-2007 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration