[rt-users] 404 problem

Gavin Hanover netmunky at gmail.com
Mon Dec 6 15:51:17 EST 2004


the html documents installed to /usr/local/share/html, which is a soft
link to /srv/rt3/html, which contains all the documents. i have also
tried moving the documents to a directory /usr/local/share/html, and
changing documentroot, but that didn't fix the issue.


On Mon, 06 Dec 2004 23:35:48 +0300, Ruslan U. Zakirov
<ruslan.zakirov at acronis.com> wrote:
> IMHO you didn't install RT properly. You try to run RT in /srv/rt3/html
> but installed it into different location.
> 
> 
> 
> Gavin Hanover wrote:
> > I got through the normal installation without too much hastle
> > (upgrading mysql rpms and rebuilding DBD::mysql got rid of
> > initialize-database errors)
> > Apache has been configured, and from what I can tell should be
> > working, but every .html file gives me 404. Other types files (such as
> > http://.../NoAuth/images/squares_blue.gif) work fine.
> > Apache access_log simply says 404, error_log has no entries (LogLevel
> > debug), and there are no rt.log files.
> > .... - - [06/Dec/2004:13:29:54 -0800] "GET / HTTP/1.1" 404 295 "-"
> > "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR
> > 1.1.4322)"
> > if i create .htaccess Options Indexes, and rename index.html, i can
> > see a directory list of the proper DocumentRoot, and click on the
> > renamed index.html, yet it still throws 404 for whatever .html file i
> > click on.
> >
> > using standalone_httpd, i get the following:
> > System error
> >
> > error:  could not find component for initial path '/'
> >
> > context:  ...
> > 162:  if (UNIVERSAL::isa($self->{request_args}, 'HASH')) {
> > 163:  $self->{request_args} = [%{$self->{request_args}}];
> > 164:  }
> > 165:  $self->{count} = ++$self->{interp}{request_count};
> > 166:  $self->_initialize;
> > 167:  return $self;
> > 168:  }
> > 169:
> > 170:  # in the future this method may do something completely different but
> > ...
> >
> > code stack:  /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
> > /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
> > /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:222
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:216
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:127
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm:76
> > standalone_httpd:126
> > standalone_httpd:62
> >
> > raw error
> >
> > could not find component for initial path '/'
> >
> > Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 225
> > eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
> > HTML::Mason::Request::_initialize('HTML::Mason::Request::CGI=HASH(0x99327f8)')
> > 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', 'autoflush', 1, 'cgi_request',
> > 'HTML::Mason::FakeApache=HASH(0x992bb70)', 'out_method',
> > 'CODE(0x992bb34)', 'interp', 'HTML::Mason::Interp=HASH(0x9865a60)',
> > 'comp', '/', 'args', 'ARRAY(0x8c4e3cc)', 'container',
> > 'HASH(0x992bc84)') called at
> > /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
> > Class::Container::call_method('HTML::Mason::Interp=HASH(0x9865a60)',
> > 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x9865a60)',
> > 'comp', '/', 'args', 'ARRAY(0x8c4e3cc)', 'container',
> > 'HASH(0x992bc84)') called at
> > /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
> > Class::Container::create_delayed_object('interp',
> > 'HTML::Mason::Interp=HASH(0x9865a60)', 'comp', '/', 'args',
> > 'ARRAY(0x8c4e3cc)', 'container', 'HASH(0x992bc84)') called at
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 222
> > HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x9865a60)',
> > 'comp', '/', 'args', 'ARRAY(0x8c4e3cc)') called at
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 216
> > HTML::Mason::Interp::exec(undef, undef) called at
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 127
> > eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 127
> > HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x984ea60)',
> > 'HASH(0x99051e8)') called at
> > /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/CGIHandler.pm line 76
> > HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x984ea60)',
> > 'CGI=HASH(0x98c4224)') called at standalone_httpd line 126
> > eval {...} at standalone_httpd line 126
> > RT::Mason::main_loop(8080) called at standalone_httpd line 62
> >
> >
> > Some other information:
> > cjl:~ # rpm -q mod_perl
> > mod_perl-1.27-50
> > cjl:~ # rpm -q apache
> > apache-1.3.26-163
> > cjl:~ # rpm -q -a | grep -i mysql
> > MySQL-shared-compat-4.1.7-0
> > MySQL-client-4.1.7-0
> > MySQL-devel-4.1.7-0
> > MySQL-server-4.1.7-0
> >
> > <VirtualHost *>
> >     ServerName ....
> >     DocumentRoot /srv/rt3/html
> >     AddDefaultCharset UTF-8
> >
> >     PerlModule Apache::DBI
> >     PerlRequire /usr/local/bin/webmux.pl
> >
> >     <Location />
> >         SetHandler perl-script
> >         PerlHandler RT::Mason
> >     </Location>
> >     LogLevel debug
> >     CustomLog /var/log/httpd/support-access_log combined
> >     ErrorLog /var/log/httpd/support-error_log
> > </VirtualHost>
> >
> >
> > according to make testdeps, i have all required dependancies.
> >
> > any help would be appreciated.
> >
> > Gavin
> >
> 
> 


-- 
In God we trust,
Everyone else must have an x.509 certificate.



More information about the rt-users mailing list