apache/fastcgi with linux
Ajaya Sahoo (asahoo@cmgi.com)
Mon, 12 Aug 1996 08:07:36 -0400
Date: Mon, 12 Aug 1996 08:07:36 -0400
Message-Id: <199608121207.IAA03398@ns.cmgi.com>
To: fastcgi-developers@openmarket.com
From: Ajaya Sahoo <asahoo@cmgi.com>
Subject: apache/fastcgi with linux
Downloaded the apache_1.1.1 and tried to work with the Fastcgi
interface with Linux. Steps taken:
- pulled the mod_fastcgi.c and tried to rebuilt the apache after
putting the mod_fastcgi.c Module in the Configuration file.
Errors encountered :
mod_fastcgi.c: In function 'Die'
mod_fastcgi.c: 1475: warning: passing arg 1 of '--longjmp' from
incompatible pointer type
mod_fastcgi.c: In function 'FastCgiHandler'
mod_fastcgi.c: 2472: warning: passing arg 1 of '--setjmp' from
incompatible pointer type
- unpacked the tar file into fast-cgi-devel-kit directory in
/home/asahoo/aks
- copied the file 'om-httpd.config' to 'conf/httpd.config' in the
home directory of the Webserver (/usr/local/apache_1.1.1)
- made changes in the srm.conf file
(/usr/local/apache_1.1.1/conf/srm.conf')
AddTpye application/x-httpd-fcgi.cgi
Alias /fcgi-bin/ /usr/local/apache_1.1.1/fcgi-devel-kit/examples/
AppClass /usr/local/apache_1.1.1/fcgi-devel-kit/examples/tiny-fcgi.fcgi
-listen-queue-depth 10 -process 2
AppClass /usr/local/apache_1.1.1/fcgi-devel-kit/examples/tiny-fcgi2.fcgi
-listen-queue-depth 10 -process 2
- created a symbolic link to the fcgi-devel-kit directory from the
'root' in the home directory of the Webserver
('ln -s /home/asahoo/aks/fcgi-devel-kit root' form
/usr/local/apache_1.1.1 which is the root directory of the Webserver).
Advise :
- Whether to go ahead with the warning messages while building the
apache ?
- What should be the next step for starting the apache server ?
(How to make use of the 'conf/httpd.config' file ? It contains
directives not recognised by apache.)
- How to run FastCGI applications on the fcgi-devel-kit directory ?
( In the /home/asahoo/aks/fcgi-devel-kit directory
./configure
make
have been performed).
Ajaya Kumar Sahoo
asahoo@cmgi.com
Consultant at CMG Info. Services