RT 4.0 with fcgid

Hello guys

I tried to setup an test system with a new rt 4.0 version

this time fcgid should be implemented too…

At first over apt i had installed the following module:

a2enmod fcgid

And this module is loaded already

then
I tried to make an customize configure with the following flag

–with-web-handler=fastcgi

but i don’t know how i can implement fcgid that RT work’s fine.

So i think thats the basic step to run fastcgi ( fcgid).

So in which way i have to modify the v host files or configs from apache?

could some one give me an example for that?

best regards john s.

View this message in context: http://old.nabble.com/RT-4.0-with-fcgid-tp31532665p31532665.html

You should read docs/web_deployment.pod.

Thomas Sibley wrote:

You should read docs/web_deployment.pod.

Hello Thomas

I have read the document.

And here is my config:

Here is my config:

AddDefaultCharset UTF-8

Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/

ServerAdmin webmaster@localhost

    DocumentRoot "/opt/rt4/share/html/"
    <Location />
        Order allow,deny
        Allow from all
        Options +ExecCGI
        AddHandler fcgid-script fcgi
    </Location>

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

#RewriteEngine on
#RewriteRule ^/rt$ /rt/
#RewriteRule ^/rt/(.)$ /opt/rt4/share/html/$1
#RewriteCond %{REQUEST_FILENAME} -d
#RewriteRule ^(/opt/rt4/share/html.
)/$ $1/index.html

#Include /opt/rt4/apache2-modperl2.conf
#RedirectMatch ^/$ /rt

Now apache gives me error :

fb>failed to resolve handler RT::Mason': Can't locate RT/Mason.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 9) line 3.\n RT failed to resolve handler RT::Mason’

Whats wrong with my config ? or is an module still missing?

best regards john s.

View this message in context: http://old.nabble.com/RT-4.0-with-fcgid-tp31532665p31539327.html

Okay now my system works … but i think it more slowly than the normal
modperl solution

My apache error.log says the following:

mod_deflate.c(615): [client 192.168.112.1] Zlib: Compressed 0 to 2 : URL
/NoAuth/Login.html, referer: http://192.168.112.26/
[Wed May 04 13:16:55 2011] [debug] mod_deflate.c(615): [client
192.168.112.1] Zlib: Compressed 23402 to 4577 : URL /, referer:
http://192.168.112.26

is that a normal behaviour?

and is there any way to make an performance test?

best regards john s.

View this message in context: http://old.nabble.com/RT-4.0-with-fcgid-tp31532665p31540753.html

Okay now my system works … but i think it more slowly than the normal
modperl solution

Posting what was wrong with your configuration would be helpful for
future mailing list searches.

My apache error.log says the following:

mod_deflate.c(615): [client 192.168.112.1] Zlib: Compressed 0 to 2 : URL
/NoAuth/Login.html, referer: http://192.168.112.26/
[Wed May 04 13:16:55 2011] [debug] mod_deflate.c(615): [client
192.168.112.1] Zlib: Compressed 23402 to 4577 : URL /, referer:
http://192.168.112.26

is that a normal behaviour?

As the messages indicate, you have mod_deflate turned on in Apache.
mod_default is not part of RT, and those messages don’t come from RT.

and is there any way to make an performance test?

There are lots of third party tools to benchmark websites, but you
provide no details of what seems slower, so I can’t recommend anything.

Hello Thomas

Sorry my fault

Okay,
Solution: Give the RT Log File more rights … otherwise RT 4.0 won’t work

There are lots of third party tools to benchmark websites, but you provide
no details of what seems slower, so I can’t recommend anything.

in my feeling i think everyone is more slowly than with modperl

-The reload takes longer

  • The navigation in the menuetree
  • Waiting for processsing to create a ticket

and so on…

best regards john s.

View this message in context: http://old.nabble.com/RT-4.0-with-fcgid-tp31532665p31547911.html