apache2-mod_fcgid-1.10-15通过rpm安装,但在apache中不可用

apache2-mod_fcgid-1.10-15通过rpm安装,但在apache中不可用,apache2,mod-fcgid,Apache2,Mod Fcgid,我已经在sles 10.2上安装了apache2-mod_fcgid-1.10-15.rpm,之前安装了apache rpm-i apache2-mod_fcgid-1.10-15.rpm givs无错误 已加载以下模块。(是不是有一个名字我错过了?) 您的配置是否包含fcgi模块的LoadModule行?也许配置没有被添加,因为它是手动更改的:我实际上有几天把模块放在正确的目录fpr中,但是我的配置有问题。在我的httpd.conf中有:LoadModule fcg_module/usr/li

我已经在sles 10.2上安装了apache2-mod_fcgid-1.10-15.rpm,之前安装了apache

rpm-i apache2-mod_fcgid-1.10-15.rpm givs无错误

已加载以下模块。(是不是有一个名字我错过了?)


您的配置是否包含fcgi模块的LoadModule行?也许配置没有被添加,因为它是手动更改的:我实际上有几天把模块放在正确的目录fpr中,但是我的配置有问题。在我的httpd.conf中有:LoadModule fcg_module/usr/lib/apache2/mod_fcgid.so。重新启动Apache时,我在/etc/apache2/httpd.conf的第217行得到:httpd2 prefork:语法错误:在文件/usr/lib/apache2/mod_fcgid.so:/usr/lib/apache2/mod_fcgid.so中找不到API模块结构“fcg_module”。把它命名为fcg_模块是我自己编的。这是错误的吗?“/usr/lib/apache2/mod_fcgid.so”必须是实际文件。如果您查看了其他模块所在的目录,那么您要查找的模块也应该在那里(因为您使用了rpm进行安装)。是的,所有oter文件都在那里:#ls/usr/lib/apache2/mod_fcgid.so-ls 68-rwxr-xr-x 1 root 64472 2006年11月26日/usr/lib/apache2/mod_fcgid.so。我现在看到它已经存在很多年了。所以我只需要激活它。我用的那条线给出了aboce错误。
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 actions_module (shared)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_default_module (shared)
 authz_user_module (shared)
 authn_dbm_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dir_module (shared)
 env_module (shared)
 expires_module (shared)
 include_module (shared)
 log_config_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 suexec_module (shared)
 userdir_module (shared)
 php5_module (shared)
 rewrite_module (shared)
 python_module (shared)
Syntax OK
selnc211:/tmp/a # httpd2 -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
selnc211:/tmp/a #