[rt-users] RT RH9 fastcgi alias problem

RT RT at InterCept.Net
Mon Sep 15 08:51:33 EDT 2003


Check your /var/log/messages, /var/log/httpd/error_logs and access_log
and see if you get any errors and such. Turn on rt logging in your
RT_CONFIG, RT_SiteConfig file and try your web pages again. 

Michael

-----Original Message-----
From: Brian Zammit [mailto:bzammit at systemsaligned.com] 
Posted At: Sunday, September 14, 2003 3:08 PM
Posted To: RT
Conversation: [rt-users] RT RH9 fastcgi alias problem
Subject: [rt-users] RT RH9 fastcgi alias problem

Using fastcgi, I can get a login screen, login, but there are no
graphics, and I can't use any of the menu options. I think it is
something to do with directory aliases, but I can't figure it out.

Can anyone help?

Brian



Using RedHat 9, fastcgi, mysql.

---
Virtual hosts section of /etc/httpd/conf/httpd.conf:
<VirtualHost *:80>
        ServerName support.systemsaligned.com:80

        DocumentRoot /opt/rt3/share/html/
        AddDefaultCharset UTF-8

        Alias /error /var/www/error
        Alias /NoAuth/images /opt/rt3/share/html/NoAuth/images

        <IfModule mod_fastcgi.c>
                AddHandler fastcgi-script fcgi
                FastCgiIpcDir /tmp/rt-fcgi
                FastCgiServer /opt/rt3/bin/mason_handler.fcgi
-idle-timeout 3600
                ScriptAlias / /opt/rt3/bin/mason_handler.fcgi/
        </IfModule>
</VirtualHost>

---

Clicking "preferences" in the admin web page gives a url of
"http://support.systemsaligned.com/opt/rt3/share/html/User/Prefs.html",
and an error of:

System error
error:  	could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'
context:  	
...  	
160:  	die "Cannot make alias without caller"
161:  	unless defined $Exception::Class::Caller;
162:  	
163:  	no strict 'refs';
164:  	*{"$Exception::Class::Caller\::$alias"} = sub {
$subclass->throw(@_) };
165:  	}
166:  	
167:  	eval $code;
168:  	
...  	
code stack:  	/usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:226
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
g /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:207
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:89
g /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:72
g /opt/rt3/bin/mason_handler.fcgi:53
g
raw error

---

Clicking on "raw error" gives:

could not find component for initial path
'/opt/rt3/share/html/User/Prefs.html/index.html'


Trace begun at /usr/lib/perl5/site_perl/5.8.0/Exception/Class.pm line
164
Exception::Class::__ANON__('could not find component for initial path
\'/opt/rt3/share/html/User/Prefs.html/index.html\'^J') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 226
eval {...}('could not find component for initial path
\'/opt/rt3/share/html/User/Prefs.html/index.html\'^J') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize('HTML::Mason::Request::CGI=HASH(0x8cc8
81c)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
line 166
HTML::Mason::Request::new('HTML::Mason::Request::CGI', 'error_mode',
'output', 'error_format', 'html', 'cgi_request',
'HTML::Mason::FakeApache=HASH(0x88e0010)', 'out_method',
'SCALAR(0x8e58260)', 'interp', 'HTML::Mason::Interp=HASH(0x8f46f20)',
'comp', '/opt/rt3/share/html/User/Prefs.html/index.html', 'args',
'ARRAY(0x92a502c)') called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method('HTML::Mason::Interp=HASH(0x8f46f20)',
'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x8f46f20)',
'comp', '/opt/rt3/share/html/User/Prefs.html/index.html', 'args',
'ARRAY(0x92a502c)') called at
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
Class::Container::create_delayed_object('HTML::Mason::Interp=HASH(0x8f46
f20)', 'request', 'interp', 'HTML::Mason::Interp=HASH(0x8f46f20)',
'comp', '/opt/rt3/share/html/User/Prefs.html/index.html', 'args',
'ARRAY(0x92a502c)') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x8f46f20)',
'comp', '/opt/rt3/share/html/User/Prefs.html/index.html', 'args',
'ARRAY(0x92a502c)') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 207
HTML::Mason::Interp::exec(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
eval {...}(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 89
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8905f7
8)', 'HASH(0x9241a50)') called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 72
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH
(0x8905f78)', 'CGI::Fast=HASH(0x8cbea78)') called at
/opt/rt3/bin/mason_handler.fcgi line 53
eval {...}('HTML::Mason::CGIHandler=HASH(0x8905f78)',
'CGI::Fast=HASH(0x8cbea78)') called at /opt/rt3/bin/mason_handler.fcgi
line 53
---

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm



More information about the rt-users mailing list