[mod-security-users] Directive SecUploadApproveScript
Brought to you by:
victorhora,
zimmerletw
|
From: Tomas H. S. <thi...@te...> - 2005-11-02 18:59:20
|
Hello, =20 Environment: RH ES 3.0 Upgrade 5 + apache 2.0.54 + mod_security 1.8.7 + = webmail=20 =20 This work fine: =20 SecUploadApproveScript /usr/local/apache2/bin/verify_upload_webmail.pl =20 But, this not work fine: =20 SecUploadApproveScript = /usr/local/apache2/bin/verificar_upload_webmail.pl "log,pass" =20 The error: =20 root@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 =20 How I can control the default action with SecUploadApproveScript? I would like to warn the user that its file is infected by virus. =20 Many thanks for you help =20 =20 Tom=E1s Hidalgo Salvador thi...@te... Dpto. Sistemas Unix Tlf.: 2333 DSF Almariya =20 |