Hi Bolivar!
I don’t know wether I am right but I think I can explain you problem. If you
use
SetHandler perl-script
PerlHandler RT::Mason
Apache will handle all requests coming to that specific location by using a
perl-script (which in this case is RT::Mason).
As all your php-scripts reside in the / Location which is mentioned in the
directive above Apache tries to handle those scripts with the PerlHandler as
well, which is the reason why they don’t get parsed as expected.
Try a setup like the third mentioned in
http://fsck.com/rtfm/article.html?id=2#100
where under the Location /rt2 the must not be php scripts.
Please forgive me my bad englisch and if I explained something wrong, but
that is how I understand the problem.
Please let me know wether I could help you with this eMail.
Regards,
Benjamin Boksa
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
SetHandler perl-script
PerlHandler RT::Mason
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?
Thank you in advance
Bolivar
Benjamin Boksa
b.boksa@sidebysite.de
side by site GmbH & Co. KG
Druckgestaltung & Webdesign
Barbarastr. 3-9 (Block 6)
D-50735 Koeln
Telefon: +49 221 2790964
Telefax: +49 221 2790965