Re: [Clamav-users] help with clamscan when running from web brower

2005-04-25 Thread Mr Prince Simon
Thanks for the reply. How do I know where the binary files are located? also I did chmod the perl script to 755. also when I change the command to 'ls -l', I did see the files on the dir. --- Dennis Peterson <[EMAIL PROTECTED]> wrote: > Mr Prince Simon said: > > Hi, > > > > I have a simple qu

Re: [Clamav-users] help with clamscan when running from web brower

2005-04-25 Thread Nigel Horne
On Monday 25 Apr 2005 02:04, Mr Prince Simon wrote: > 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

Re: [Clamav-users] help with clamscan when running from web brower

2005-04-24 Thread Stephen Gran
On Sun, Apr 24, 2005 at 07:30:56PM -0700, Dennis Peterson said: > Mr Prince Simon said: > > 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 i

Re: [Clamav-users] help with clamscan when running from web brower

2005-04-24 Thread Dennis Peterson
Mr Prince Simon said: > 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($hashcom

[Clamav-users] help with clamscan when running from web brower

2005-04-24 Thread Mr Prince Simon
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