Problems running RT3.0.9 under RH9

Hi @All,

today we set up a new RT3.0.9 under Redhat 9. We used the following options:

  1. httpd-2.0.40-21.9 (from redhat / rpm)
  2. speedycgi-apache2-2.22-1 (rpm install)
  3. speedycgi-2.22-1 (rpm install)

We have configured rt with the following options:

configure --with-db-rt-pass=password --with-web-user=apache --with-web-group
=apache

and have done the test: perl
sbin/rt-test-dependencies --with-MYSQL --with-SPEEDYCGI

after that, we installed it with perl
sbin/rt-test-dependencies --with-MYSQL --with-SPEEDYCGI --install

Output:

perl:
5.8.0…found
SPEEDYCGI dependencies:
CGI 2.92…found
CGI::SpeedyCGI …found
MASON dependencies:
Params::Validate 0.02…found
Cache::Cache …found
Exception::Class …found
HTML::Mason 1.16…found
MLDBM …found
Errno …found
FreezeThaw …found
Digest::MD5 2.27…found
CGI::Cookie 1.20…found
Storable 2.08…found
Apache::Session 1.53…found
MAILGATE dependencies:
HTML::TreeBuilder …found
HTML::FormatText …found
Getopt::Long …found
LWP::UserAgent …found
CLI dependencies:
Getopt::Long 2.24…found
CORE dependencies:
Digest::MD5 2.27…found
DBI 1.37…found
Test::Inline …found
Class::ReturnValue 0.40…found
DBIx::SearchBuilder 0.97…found
Text::Template …found
File::Spec 0.8…found
HTML::Entities …found
Net::Domain …found
Log::Dispatch 2.0…found
Locale::Maketext 1.06…found
Locale::Maketext::Lexicon 0.32…found
Locale::Maketext::Fuzzy …found
MIME::Entity 5.108…found
Mail::Mailer 1.57…found
Net::SMTP …found
Text::Wrapper …found
Time::ParseDate …found
File::Temp …found
Term::ReadKey …found
Text::Autoformat …found
Text::Quoted 1.3…found
Scalar::Util …found
DEV dependencies:
Regexp::Common …found
Time::HiRes …found
Test::Inline …found
WWW::Mechanize …found
MYSQL dependencies:
DBD::mysql 2.1018…found

OK, not all of this Modules are installed automatically, some Modules we
must install by hand with force install in cpan shell (Apache::Session 1.53)

Our httpd.conf looks like:

–cut–
LoadModule speedycgi_module /usr/lib/httpd/modules/mod_speedycgi.so
AddHandler speedycgi-script .scgi
NameVirtualHost *
<VirtualHost *>
ServerName ticket-new.int.kn
ServerAdmin support@company.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
ScriptAlias /rt3/ “/opt/rt3/bin/mason_handler.scgi”
Alias /rt3/ “/opt/rt3/bin/mason_handler.scgi”
Alias /bin/ “/opt/rt3/bin/”
Alias /error/ “/var/www/”
<Location /bin>
SetHandler speedycgi-script
Options +ExecCGI
Action text/html /bin/mason_handler.scgi

Action text/html “/bin/mason_handler.scgi”

–cut–

So far, no problem, we installed the RT and the Database and we connect to
RT, all fine. After this we started testing RT3, but if we creat a ticket
with an attachment, we are not able to open this attached file from the
ticket. We get the following error message in the logs:

/var/log/httpd/error.log:

[Thu Feb 19 18:09:32 2004] [error] [client 10.x.x.x] File does not exist:
/opt/rt3/share/html/Ticket/Attachment/22, referer:
http://ticket-new.int.kn/Ticket/Display.html?id=3
[Thu Feb 19 18:09:32 2004] [error] [client 10.x.x.x] (2)No such file or
directory: cannot access type map file: /var/www/HTTP_NOT_FOUND.html.var,
referer: http://ticket-new.int.kn/Ticket/Display.html?id=3

and in the webbrowser:

Not Found
The requested URL /Ticket/Attachment/22/55/rtfm-2.0-manual-v1.0.pdf was not
found on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.

Apache/2.0.40 Server at ticket-new.int.kn Port 80

–cut–

Does anyone have a idea whats going wrong??

Thanks for the support.

Torsten Brumm