SuSE 10.2 uses a different fcgi module as debian (or I don't know if debian does too now)

it uses mod_fcgid which is described as binary compatible to mod_fastcgi. Unfortunately it has some different parameters.

apt-get install apache2-mod_fcgid

in /etc/sysconfig/apache2 you have to add it to the APACHE_MODULES var e.g.

APACHE_MODULES="actions alias auth_basic authn_file authz_host authz_groupfile authz_default authz_user authn_dbm autoindex fcgid cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir"

if the server is restarted sucessfully by

/etc/rc.d/apache2 restart

you got an entry in /etc/apache2/sysconfig.d/loadmodule.conf similiar to

LoadModule fcgid_module                   /usr/lib64/apache2/mod_fcgid.so

The name of the Handler is different to mod_fastcgi. If you copy config files (e.g. vhost definitions) you have to take care that you use the right one.

AddHandler fcgid-script .fcg 

If you did a mistake at that point the fcg file is shown as plain text.

MoinMoin: ReimarBauer/mod_fcgidOnSuse (last edited 2007-10-29 19:07:55 by localhost)