[rt-users] Apache config help?

Martin Hemmings mhemmings at trakonic.com
Thu Aug 9 09:58:13 EDT 2001


Ok, I think I've gotten mod-perl correctly installed now...  when I do a
/usr/local/apache/bin/httpd -l  I see mod_perl.c in the list.  I had to
download Apache and mod_perl again, install mod_perl using the source
directory for the apache that I just downloaded, rebuild Apache to the same
directory that I had used previously and restart httpd.   (The step-by-step
instructions were on take23.org)

Now the error_log is showing "[notice] Apache/1.3.19 (Unix) mod_perl/1.26
configured -- resuming normal operati
ons" after a restart.

One problem taken care of...

New Problem
Now the page isn't being loaded.....  instead the error_log file is showing:

[warn] [Mason] Cannot resolve file to component:
/usr/local/apache/htdocs/rt/inde
x.html (is file outside component root?)

I can manually follow the links and find index.html with no problems.... the
only thing I could think of is that all these components have root/bin
listed as owner/group (since I'm the root user when I installed them, while
apache is running as user/group apache/apache.  Would that make a
difference?  What permissions should be changed on the RT2
files/directories?


Here's part of my httpd.conf file:

#rt simlink in /usr/local/apache/htdocs points to /usr/local/rt2/WebRT/html

#  RT2 config
PerlModule Apache::DBI
PerlRequire /usr/local/rt2/bin/webmux.pl
<Location /rt>
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>







> -----Original Message-----
> From: rt-users-admin at lists.fsck.com
> [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Steve Poirier
> Sent: August 8, 2001 3:40 PM
> To: Martin Hemmings
> Cc: rt-users at lists.fsck.com
> Subject: Re: [rt-users] Apache config help?
>
>
> Hello,
>
> Yes you don't have to load the module with static install. When
> you do make
> install, I don;t think it will replace the existing httpd binary file. You
> should delete the current one in (/path/to/apache/bin/httpd) or rename it
> and make install again
>
> And try :
> /path/to/apache/bin/httpd -l
> (l in small cap)
>
> It will display the list of active modules , and you should see:
> mod_perl.c in the list
>





More information about the rt-users mailing list