apache 1.3 FastCGI (mod_fastcgi) troubleshoot

maddog

Verified User
Joined
Jan 16, 2006
Messages
21
Location
Israel
Hello dear friends.
I would like to hear your opinions or get an advice even.
I have a problem that I can't solve this week, so it's gonna be:

I'm trying to install FastCGI, so that my customer will be able to run index.fcgi files. I tried to do it in several ways:

1. Using apt-get I installed all FastCGI related (even tried to install libapache-mod-scgi and forgot that it installs package "apache" that rewrote my customapache - but I rebuilt the customapache and it's ok now :), so as said i tried to install all apt-get packages related to fcgi (fastcgi). - no luck.

2. Tried to Install it using apxs (Installing mod_fastcgi as a DSO) - no luck.

3. Tried to download the (http://www.fastcgi.com/dist/)
* fcgi-2.4.0.tar.gz &
* mod_fastcgi-2.4.2.tar.gz
and install it like it's written on fastcgi.com site - no luck.

maybe i'm doing something wrong, perhaps im missing something? :(

This is what I get as an error when using "apachectl configtest":
Syntax error on line 106 of /usr/local/directadmin/data/users/andreas/httpd.conf:
Invalid command 'FastCgiAuthenticator', perhaps mis-spelled or defined by a module not included in the server configuration
/usr/sbin/apachectl restart: httpd could not be started
- somewhy it still doesn't recognize FastCGI commands in httpd.conf.


I added this to my master httpd.conf file:
LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so
It starts ok without error if i remove the 'FastCgiAuthenticator', 'FastCgiConfig' & 'FastCgiServer' from user's httpd.conf file.

Also I tried to add:
AddModule mod_fastcgi.c
to the master httpd.conf file, but then all sites went down and i got 'seqmentation fault' erros in '/var/log/httpd/error_log'.

It's probably some special configuration I need to do due to the customapache I use in directadmin. And I would like to get help.
I be very happy if I will.

Technical details:

Linux nicole 2.6.15wal #2 PREEMPT Fri Jan 13 17:35:52 IST 2006 i686 GNU/Linux
httpd: Server version: Apache/1.3.34 (Unix)
 
When I try to recompile apache (customapache adding
'--activate-module=/usr/local/lib/libfcgi++.a \' to the configure.apache_ssl file, it says:

Configuring for Apache, Version 1.3.34
+ using installation path layout: Apache (config.layout)
+ on-the-fly added and activated frontpage module (modules/extra/mod_frontpage.o)
configure:Error: Module source already has to be below src/modules/ to be activated
./configure:Error: APACI failed
- but I don't have src/modules directory becouse apache is tar.gz file and uncompressed during ./build apache_mod_ssl ---- :(((
 
Back
Top