[rt-users] problem with mod_fastcgi

Fred Purdue fred at gtgcorp.com
Fri Mar 29 11:37:39 EST 2002


I'm having a problem with mod_fastcgi

I have the following in my httpd.conf:

----------------------8<---------------
	#added under LoadModule
	<IfDefine HAVE_FCGI>
	LoadModule fastcgi_module  modules/mod_fastcgi.so
	</IfDefine>
	
	#added under ClearModuleList
	<IfDefine HAVE_FCGI>
	AddModule mod_fastcgi.c
	</IfDefine>
----------------------8<---------------

I have the following in my commonhttpd.conf:

----------------------8<---------------
	ServerAdmin root at helpdesk.corp.newoppinc.org
	ServerName helpdesk.corp.newoppinc.org
	
	DocumentRoot /usr/local/rt/WebRT/html
	
	# I added this stuff and I have no idea if i did it right :)
	
	# start mod
	
	<Directory />
	    Options FollowSymLinks
	    AllowOverride None
	#added following 1 line
	    AddHandler fastcgi-script fcgi
	</Directory>
	
	#Added both below for FCGI support
	FastCgiServer /usr/local/rt/bin/mason_handler.fcgi
	ScriptAlias / /usr/local/rt/bin/mason_handle.fcgi/
----------------------8<---------------

If I leave FastCgiServer & ScriptAlias uncommented I get :

----------------------8<---------------
	[root at helpdesk rc5.d]# ./S85httpd start
	Starting httpd-perl: Syntax error on line 52 of
/etc/httpd/conf/commonhttpd.conf:
	Invalid command 'FastCgiServer', perhaps mis-spelled or defined
by a module not included in the server configuration
	
[FAILED]
	Starting httpd:                                            [  OK
]
	Syntax error on line 52 of /etc/httpd/conf/commonhttpd.conf:
	Invalid command 'FastCgiServer', perhaps mis-spelled or defined
by a module not included in the server configuration
	
[FAILED]
	Syntax error on line 52 of /etc/httpd/conf/commonhttpd.conf:
	Invalid command 'FastCgiServer', perhaps mis-spelled or defined
by a module not included in the server configuration
	
[FAILED]
----------------------8<---------------

If I leave them commented (I know it slows it down) I get the following
when I visit the webpage:

----------------------8<---------------

<& /Elements/Header, Title=>"Start page", Refresh =>
$session{'home_refresh_interval'} &> <& /Elements/Tabs, current_toptab
=> '' &>
<& /Elements/CustomHomepageHeader, %ARGS &> <& /Elements/MyTickets &>
<& /Elements/MyRequests &> <& /Elements/Quicksearch &>
<& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session
{'home_refresh_interval'} &>
<%init> if ($ARGS{'HomeRefreshInterval'}) {
$session{'home_refresh_interval'} = $ARGS{'HomeRefreshInterval'}; } 

----------------------8<---------------

What did I screw up this time????




------=====================================------
Fred Purdue              General Technology Group 
E: Fred at GTGCorp.com               www.gtgcorp.com
P: (203) 235-7175          164 Scott St - Suite 1
C: (203) 605-6853               Meriden, CT 06450
------=====================================------





More information about the rt-users mailing list