Hi,

I have a simple question and maybe someone can explain
to me what happend.

I have a perl script 
---
#!/usr/bin/perl -w
print "Content-type: text/html\n\n";
my $hashcommand ="clamscan -r -i -l
/home/clamav/scan.txt /www/pathtomydir/";
system($hashcommand);

print "done";
exit;

---
and when I manually run it from the command prompt (
login as root )
it work fine.

But when I run it thru the website, its not working.
i already added group apache to clamsv in the group
file
---
apache:x:48:clamav
---

It has to be rights issue. but I have no idea where to
begin..

thanks again for all your help

Simon


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to