[rt-users] Anyone installed RT on Mandrake - Help?

John Giles john at trdlnk.com
Fri Oct 22 08:19:10 EDT 2004


I just setup RT 3.2.2 on a Mandrake 10.0 with fastcgi and Apache 2 and  
Mysql 4
Everything was from rpms, except mod_fastcgi.

Download mod_fastcgi-2.4.2 and edit the Makefile changing these three lines
because the Apache2 rpm install splits the lib and include directories.
----
top_dir      = /usr/lib/apache2
INCLUDES=-I/usr/include/apache2
LIBS=-L/usr/lib/apache2
----
Then make and install the fastcgi program

Add this line to the /etc/httpd/conf/httpd2.conf file in
--
LoadModule fastcgi_module modules/mod_fastcgi.so
--

Then I added this module to the /etc/httpd/conf/commonhttpd.conf file
---
<IfModule mod_fastcgi.c>
         AddHandler fastcgi-script fcgi
         FastCgiIpcDir /tmp
         FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120  
-processes 4
</IfModule>
----

Then my /etc/httpd/conf/vhosts/Vhosts.conf file has this entry
--
<VirtualHost name>
   ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
</VirtualHost>
--

Make sure you don't have any mod_perl rpms installed.

John Giles
john at trdlnk.com



On Fri, 22 Oct 2004 21:11:55 +1000, Christopher Welsh <cpwe at deakin.edu.au>  
wrote:

>
> Hi,
>
>
> I'm no expert a this but I have the basics of RT running, I've setup  
> users and test queues. It's simply a great helpdesk.
> The problem I have is that to get it going, I had to make some  
> compromises.
>
> 1 - Had to remove suexec
> 2 - It will not run as a virtual host. It tells me I cannot have  
> "FastCgiIpcDir /tmp",   "FastCgiServer", ScriptAlias" in the virtual  
> host's section. So I have not worked out how to set this up as a virtual  
> host. It hogs the whole server in it's current state; No other web apps  
> will run.
>
>
> I have read and installed using  the info from  
> "http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration", but  
> Mandrake's apache must do it a little different.
>
> Mandrake 10.0 splits it up into the following relevant files. To get it  
> working I had to do the following:
>
> httpd2.conf
> ----------------
> Fastcgi module loaded,
>
>
> commonhttpd.conf
> --------------------------
>  # Pass through requests to display images
>    Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
>
>    # Tell FastCGI to put its temporary files somewhere sane.
>    FastCgiIpcDir /tmp
>
>    # Number of processes is tunable, but you need at least 3 or 4
>    FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120  
> -processes 4
>
>    ##AddHandler fastcgi-script fcgi
>    ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
>
>
> vhosts/Vhosts.conf
> ----------------------------
> <VirtualHost helpdesk.staff>
> ServerName helpdesk.staff
> ####ServerPath /usr/local/rt3/share/html
> DocumentRoot /usr/local/rt3/share/html
>    ####Alias /rt /usr/local/rt3/share/html
> ####
> ####
>    Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
> ####
>    AddHandler fastcgi-script fcgi
>    ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
> ####
>    <Location /NoAuth/images >
>      SetHandler default-handler
>    </Location>
> ####
> </VirtualHost>
>
>
>
> Could you send me your  Mandrake/Apache conf files? I've gone with  
> fastcgi and RT-3.2.2 with Apache2. I'd rather not move the helpdesk off  
> this server.
>
>
>
> Thanks,
> Chris
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT wiki at http://wiki.bestpractical.com





More information about the rt-users mailing list