Directive SecUploadApproveScript
2005-11-02 18:59:29 GMT
Hello,
Environment: RH ES 3.0 Upgrade 5 + apache 2.0.54 + mod_security 1.8.7 + webmail
This work fine:
SecUploadApproveScript /usr/local/apache2/bin/verify_upload_webmail.pl
But, this not work fine:
SecUploadApproveScript /usr/local/apache2/bin/verificar_upload_webmail.pl “log,pass”
The error:
root <at> myserver:/usr/local/apache2/conf> /etc/init.d/httpd stop
stopping Apache-2 ...
Syntax error on line 32 of /usr/local/apache2/conf/mod-security.conf:
SecUploadApproveScript takes one argument, The path to the script that will be called to approve every uploaded file
How I can control the default action with SecUploadApproveScript?
I would like to warn the user that its file is infected by virus.
Many thanks for you help
Tomás Hidalgo Salvador
thidalgo <at> tecnologia.cajamar.es
Dpto. Sistemas Unix
Tlf.: 2333
DSF Almariya
RSS Feed