[rt-users] Configuring Apache for RT

John Schubert jschubert at linearcorp.com
Thu Dec 11 02:13:11 EST 2003


On Thu, 2003-12-11 at 14:58, Max Bowsher wrote:
> John Schubert wrote:
> > I tried adding this, however, configtest complains that "order is not
> > allowed here".
> 
> Well, Order definitely *is* allowed in a Directory block.
> 
> Perhaps you should post the relevant bits of your Apache config.

________________________________________
<VirtualHost 192.168.1.199>
    ServerName tech.linearcorp.com
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8

    # this line applies to Apache2+mod_perl2 only
    # PerlModule Apache2 Apache::compat

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

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>
_________________________________________
I placed the lines within the Virtual Host.  So maybe that was my
mistake.  I've been trying to get back my Apache for other internal
sites, however any time I try to change it, the added area goes into a
weird refreshing loop for a Forbidden Page (when I say refreshing loop,
I mean the page displays and then reloads repeatedly).  My http.conf is
the "stock" installation, other than the above.

For example, I added
<directory> DocumentRoot /home/tech </directory>
and other tricks but it always kicks into the unauth or forbid page. 
Sym linking is normally the approach I use ( e.g. ln -s /home/tech
/etc/rt3/share/html/tech ) but the same loop occurs.  I thought maybe
permissions were an issue, but chmod 777 had no effect.

I've spent about 3 or 4 hours on this one issue, so I've spent a little
time but not much.  After spending a month wrestling with RedHat 8,
Mod_perl2 and Apache2 issues with RT, I now have to limit the amount of
time I spend troubleshooting.

John




More information about the rt-users mailing list