Still having trouble getting RT started for the first time

I’m getting closer, but still having trouble getting RT started. It’s a fresh intall on FC3 using mod_perl-2.0.1-1.fc4 and associated bits.

The machine it’s running on is our ftp host, but has no other web services running on it at the moment. However, there is an index.html in /var/www/html. And as I tinker with httpd.conf, I’m getting one of three symptoms, depending on how I tinker:

  1. The index.html in /var/www/html
  2. A download that Firefox claims is a unix directory, but which downloads to a zero-length file
  3. The “You’re almost there!” page.

Now, all this suggests to me that (3) is the “best” configuration, though obviously still not right: it’s clearly paying attention to the VirtualHost section I added, since if I tinker with that, the behavior changes. It seems to me that (as the “You’re almost there!” page suggests) the problem is that Apache isn’t running the Perl “stuff” when the URL is visited. But I can spell “Apache” and that’s about it. I’ve done lots of Googling for various Apache documents, and don’t seem to be getting any closer. (A colleague who has worked with Apache has tinkered as well, and he’s stumped too.)

Here’s what I have now (hostname and IPs changed to protect the guilty, of course):

<VirtualHost 1.2.3.4 rt.example.com>
DocumentRoot /opt/rt3/share/html
ServerName rt.example.com

this line applies to Apache2+mod_perl2 only

PerlModule Apache2 Apache::compat

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl

<Location /rt>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

Is there anything obviously wrong? (Besides that fact that it’s not working!)

Thanks,
…phsiii

I’m getting closer, but still having trouble getting RT started. It’s a fresh intall on FC3 using mod_perl-2.0.1-1.fc4 and associated bits.

The machine it’s running on is our ftp host, but has no other web services running on it at the moment. However, there is an index.html in /var/www/html. And as I tinker with httpd.conf, I’m getting one of three symptoms, depending on how I tinker:

  1. The index.html in /var/www/html
  2. A download that Firefox claims is a unix directory, but which downloads to a zero-length file
  3. The “You’re almost there!” page.

Now, all this suggests to me that (3) is the “best” configuration, though obviously still not right: it’s clearly paying attention to the VirtualHost section I added, since if I tinker with that, the behavior changes. It seems to me that (as the “You’re almost there!” page suggests) the problem is that Apache isn’t running the Perl “stuff” when the URL is visited. But I can spell “Apache” and that’s about it. I’ve done lots of Googling for various Apache documents, and don’t seem to be getting any closer. (A colleague who has worked with Apache has tinkered as well, and he’s stumped too.)

Here’s what I have now (hostname and IPs changed to protect the guilty, of course):

<VirtualHost 1.2.3.4 rt.example.com>
DocumentRoot /opt/rt3/share/html
ServerName rt.example.com

this line applies to Apache2+mod_perl2 only

PerlModule Apache2 Apache::compat
Drop this, you don’t need it with latest RT versions.

PerlModule Apache::DBI
comment this out unless you will run RT. it’s transparent extension.

PerlRequire /opt/rt3/bin/webmux.pl

<Location /rt>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

Is there anything obviously wrong? (Besides that fact that it’s not working!)
From info you’ve sent everything looks ok.
Questions:

  1. RT version? MUST be 3.4.4 or greater to work with MP2
  2. HTML::Mason version? Must be latest available to work with MP2.
  3. Do you want RT at http://rt.example.com/… or at
    http://rt.example.com/rt/…?
  4. What is in your RT_SiteConfig?

Thanks,

…phsiii


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Best regards, Ruslan.