[rt-users] Configuring Apache for RT
Max Bowsher
maxb at ukf.net
Thu Dec 11 11:49:25 EST 2003
John Schubert wrote:
> 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.
Well, yes. That is what the docs say:
http://httpd.apache.org/docs/mod/mod_access.html#order
> 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>
That is NOT valid syntax for a <Directory> block. See the apache
documentation for how to correctly use <Directory>.
Max.
More information about the rt-users
mailing list