Matěj Cepl wrote: > Hi, I am trying to make dspam work with zarafa on my home RHEL-5 server > and after trying for hours I cam to this /etc/http/conf.d/dspam-web.conf > file: > > ScriptAlias /dspam/ /usr/share/dspam-web > <Directory "/usr/share/dspam-web"> > DirectoryIndex dspam.cgi > AddHandler cgi-script .cgi .pl > AllowOverride None > Options +ExecCGI -Indexes +FollowSymLinks > Order allow,deny > Allow from all > AuthType Basic > AuthName "DSPAM WebUI login" > Require valid-user > AuthUserFile /var/www/passwd/dspam > </Directory> > > However, whatever I do, script is never exectuted properly, but I always > just get a source of code of the dspam.cgi script. I have marked all > executable files with httpd_unconfined_script_exec_t SELinux label, I > don't see any errors in logs, but still the only result of calling > > http://myserver/dspam/ > > is source code of the dspam.cgi. > > Any ideas anybody what I am doing wrong, please? > > Thank you, > > Matěj
Hello Matěj, I'm not Apache guru, but I take Your above configuration (well, for simplicity without Auth* and Require directives, and with adding "SuexecUserGroup dspam dspam" as my DSPAM cgi scripts requires this), and this config work OK (at Fedora 13 and 14). Thus problem is probably elsewhere, e.g.: - You haven't mod_cgi or it is damaged/prohibited - You use multi-threaded MPM, in which case must be used mod_cgid - maybe some SELinux or e.g. mod_security interaction, You may temporarily disable them - maybe You have bad permissions at DSPAM CGI directory or files (but in this case Apache should probably response "Forbidden") Have You any other cgi scripts on this web? And they work right? Franta Hanzlík ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user