[rt-users] RT, Apache and PHP

Rich Lafferty rich at lafferty.ca
Fri Feb 8 23:29:54 EST 2002


On Fri, Feb 08, 2002 at 07:48:30PM -0500, Bolivar Geraldo (bgeraldo at sockeye.com) wrote:
> I'm running the RT 2.0.11
> 
> I have installed PHP4 on the server that is running my company's RT
> instance, but I'm having trouble getting Apache to parse .php files.
> When I comment the following out of my httpd.conf, everything works
> fine:
> 
> PerlModule Apache::DBI
> PerlFreshRestart On
> PerlRequire /opt/rt2/bin/webmux.pl
> <Location />
>  SetHandler perl-script
>  PerlHandler RT::Mason
> </Location>
> 
> When I put it back in, I get asked to download the .php file instead of
> parsing it. Can anyone tell me what exactly the code above does and/or
> if there is a way around this?

That <Location> block says to use the handler perl-script for
everything under "/". Probably not what you want, but I'm not sure
where the PHP-related stuff might reside to tell you how to fix it.

  -Rich

-- 
Rich Lafferty --------------+-----------------------------------------------
 Ottawa, Ontario, Canada    |  Save the Pacific Northwest Tree Octopus!
 http://www.lafferty.ca/    |    http://zapatopi.net/treeoctopus.html
rich at lafferty.ca -----------+-----------------------------------------------




More information about the rt-users mailing list