<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Torsten,<br>
Thanks for your help.<br>
I got fastcgi up and running without any problem.<br>
I had to make some changes to your config file since I do not use
VirtualHost.<br>
Hope someone find this (see snippet below) info useful. <br>
Thanks a lot,<br>
Dário<br>
<br>
AddHandler fastcgi-script fcgi<br>
<Location "/rt/gp"><br>
Options FollowSymLinks ExecCGI<br>
AllowOverride None<br>
AddDefaultCharset UTF-8<br>
SetHandler fastcgi-script<br>
</Location><br>
<LocationMatch "/rt/gp/NoAuth"><br>
Satisfy Any<br>
Allow from all<br>
</LocationMatch><br>
<Location "/rt/gp/NoAuth/images"><br>
SetHandler default-handler<br>
</Location><br>
FastCgiServer /l/disk0/tools/rt/gp/bin/mason_handler.fcgi -idle-timeout
120 -processes 3<br>
ScriptAlias /rt/gp /l/disk0/tools/rt/gp/bin/mason_handler.fcgi<br>
<br>
<br>
Torsten Brumm wrote:
<blockquote
cite="midbdbd084b0608160447i74a2a755y316a97156b339176@mail.gmail.com"
type="cite">Hi Dario,<br>
<br>
no problem:<br>
<br>
i'm running apache2 under RHEL3, here are the importent parts from my
httpd.conf:<br>
<br>
LoadModule fastcgi_module /usr/lib/httpd/modules/mod_fastcgi.so<br>
<br>
FastCgiServer /opt/rt3ast/bin/mason_handler.fcgi -idle-timeout 300
-processes 30 -listen-queue-depth 300 -priority 9 -appConnTimeout 240
<br>
<br>
FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 300
-processes 30 -listen-queue-depth 300 -priority 8 -appConnTimeout 240<br>
<br>
and the virtual host section:<br>
<br>
<VirtualHost *><br>
ServerName <a href="http://ast.int.kn">ast.int.kn</a><br>
ServerAdmin <a href="mailto:support@company.com">support@company.com</a><br>
DocumentRoot /opt/rt3ast/share/html<br>
AddHandler fastcgi-script .fcgi<br>
ExpiresActive On<br>
ExpiresByType text/css A3600<br>
ExpiresByType image/png A3600<br>
ExpiresByType application/x-javascript A3600<br>
ExpiresByType image/gif A3600<br>
Alias /NoAuth/images/ /opt/rt3ast/share/html/NoAuth/images/<br>
Alias /pics/ /opt/rt3ast/share/html/NoAuth/images/pics/
<br>
ScriptAlias / /opt/rt3ast/bin/mason_handler.fcgi/<br>
</VirtualHost><br>
<br>
<VirtualHost *><br>
ServerName <a href="http://ticket.int.kn">ticket.int.kn</a><br>
ServerAdmin <a href="mailto:support@company.com">
support@company.com</a><br>
DocumentRoot /opt/rt3/share/html<br>
AddHandler fastcgi-script .fcgi<br>
ExpiresActive On<br>
ExpiresByType text/css A3600<br>
ExpiresByType image/png A3600<br>
ExpiresByType application/x-javascript A3600<br>
ExpiresByType image/gif A3600<br>
Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/<br>
Alias /pics/ /opt/rt3/share/html/NoAuth/images/pics/
<br>
ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/<br>
</VirtualHost><br>
<br>
Important reading:<br>
<br>
<a href="http://wiki.bestpractical.com/index.cgi?RHEL4InstallGuide">http://wiki.bestpractical.com/index.cgi?RHEL4InstallGuide
</a><br>
<a href="http://wiki.bestpractical.com/index.cgi?FastCGIFAQ">http://wiki.bestpractical.com/index.cgi?FastCGIFAQ</a><br>
<a href="http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration">http://wiki.bestpractical.com/index.cgi?FastCGIConfiguration
</a><br>
<br>
<br>
<div><span class="gmail_quote">2006/8/16, Dario Luis Coneglian
Oliveros <<a href="mailto:oliveros@cpqd.com.br">oliveros@cpqd.com.br</a>>:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div bgcolor="#ffffff" text="#000000">Thanks for the info Torsten.<br>
I will try FastCGI then.<br>
If you can send your config file, it will be great and save me some
time.<br>
Thanks a lot,<br>
Dário</div>
<div><span class="e" id="q_10d16b850bf22569_1"><br>
<br>
Torsten Brumm wrote:
<blockquote
cite="http://midbdbd084b0608160036m411fb3e8g55d4f83582f18234@mail.gmail.com"
type="cite">Hi,<br>
<br>
i'm not sure if this will work with mod_perl. i have used FastCGI or
FCGI to do this.<br>
<br>
There is a very good wiki entry at <a
href="http://wiki.bestpractical.com" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">wiki.bestpractical.com</a>.<br>
<br>
If you need more help, i can sent you my config (apache) <br>
<br>
Torsten<br>
<br>
<div><span class="gmail_quote">2006/8/15, Dario Luis Coneglian
Oliveros <<a href="mailto:oliveros@cpqd.com.br" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">oliveros@cpqd.com.br</a>>:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've
been trying to setup two RT instances in apache, but only one works<br>
at a time.<br>
It may be some apache configuration issue, but can't figure out what<br>
it's wrong.<br>
Any help will be very appreciated.<br>
Please find below both files: <br>
::::::::::::::<br>
rt-cpqd-commons.conf<br>
::::::::::::::<br>
Alias /cpqd-commons /l/disk0/tools/rt/cpqd-commons/share/html<br>
AddDefaultCharset UTF-8<br>
PerlModule Apache::DBI<br>
PerlRequire /l/disk0/tools/rt/cpqd-commons/bin/webmux.pl <br>
<Location /cpqd-commons><br>
Options None<br>
SetHandler perl-script<br>
PerlHandler RT::Mason<br>
<IfDefine PerlDProf><br>
<IfDefine PerlSmallProf><br>
PerlFixupHandler Apache::SmallProf <br>
</IfDefine><br>
</IfDefine><br>
</Location><br>
<LocationMatch "/cpqd-commons/NoAuth"><br>
Satisfy Any<br>
Allow from all<br>
</LocationMatch><br>
<Location /cpqd-commons/NoAuth/images> <br>
SetHandler default-handler<br>
</Location><br>
<IfDefine PerlStatus><br>
<Location /cpqd-commons/perl-status><br>
SetHandler perl-script<br>
PerlHandler Apache2::Status<br>
PerlSetVar StatusOptionsAll On <br>
PerlSetVar StatusTerse On<br>
PerlSetVar StatusTerseSize On<br>
PerlSetVar StatusTerseSizeMainSummary On<br>
PerlSetVar StatusLexInfo On<br>
</Location><br>
</IfDefine><br>
:::::::::::::: <br>
rt-cpqd-gp.conf<br>
::::::::::::::<br>
Alias /cpqd-gp /l/disk0/tools/rt/cpqd-gp/share/html<br>
AddDefaultCharset UTF-8<br>
PerlModule Apache::DBI<br>
PerlRequire /l/disk0/tools/rt/cpqd-gp/bin/webmux.pl<br>
<Location /cpqd-gp> <br>
Options None<br>
SetHandler perl-script<br>
PerlHandler RT::Mason<br>
<IfDefine PerlDProf><br>
<IfDefine PerlSmallProf><br>
PerlFixupHandler Apache::SmallProf<br>
</IfDefine> <br>
</IfDefine><br>
</Location><br>
<LocationMatch "/cpqd-gp/NoAuth"><br>
Satisfy Any<br>
Allow from all<br>
</LocationMatch><br>
<Location /cpqd-gp/NoAuth/images><br>
SetHandler default-handler <br>
</Location><br>
<IfDefine PerlStatus><br>
<Location /cpqd-gp/perl-status><br>
SetHandler perl-script<br>
PerlHandler Apache2::Status<br>
PerlSetVar StatusOptionsAll On<br>
PerlSetVar StatusTerse On <br>
PerlSetVar StatusTerseSize On<br>
PerlSetVar StatusTerseSizeMainSummary On<br>
PerlSetVar StatusLexInfo On<br>
</Location><br>
</IfDefine><br>
<br>
<br>
<br>
<br>
_______________________________________________ <br>
<a
href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users</a><br>
<br>
Community help: <a href="http://wiki.bestpractical.com" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">http://wiki.bestpractical.com
</a><br>
Commercial support: <a href="mailto:sales@bestpractical.com"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sales@bestpractical.com</a><br>
<br>
<br>
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.<br>
Buy a copy at <a href="http://rtbook.bestpractical.com" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">
http://rtbook.bestpractical.com</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
MFG<br>
<br>
Torsten Brumm<br>
<br>
<a href="http://www.torsten-brumm.de" target="_blank"
onclick="return top.js.OpenExtLink(window,event,this)">http://www.torsten-brumm.de</a>
</blockquote>
<br>
</span></div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
MFG<br>
<br>
Torsten Brumm<br>
<br>
<a href="http://www.torsten-brumm.de">http://www.torsten-brumm.de</a>
</blockquote>
<br>
</body>
</html>