Using RT::Mason and php - problems

I’m trying to get timesheet.php up and running on the same server that’s
running RT. The first problem I ran into was getting Mason to ignore the
location of the php files.

However, I don’t think the handler is right since the server isn’t parsing
the php page but instead spitting out a file for download. Here’s what I
have in my configs:

<Location /timesheet>
SetHandler default-handler

SetHandler perl-script PerlHandler RT::Mason

This is all within .

Anyone else get anything like this working?

matthew zeier | “In mathematics you don’t understand
InteleNet Communications, Inc. | things. You just get used to them.”
(949) 784-7904 | - John von Newmann

I’m trying to get timesheet.php up and running on the same server
that’s running RT. The first problem I ran into was getting Mason to
ignore the location of the php files.

However, I don’t think the handler is right since the server isn’t
parsing the php page but instead spitting out a file for download.
Here’s what I have in my configs:

<Location /timesheet>
SetHandler default-handler

SetHandler perl-script PerlHandler RT::Mason

Try this:

SetHandler perl-script PerlHandler RT::Mason

<Location /timesheet>
SetHandler default-handler

Don’t you want php-script or whatever it is here?

Order is important.

(darren)

If Jesus Christ were to come today, people would not even crucify
him. They would ask him to dinner, and hear what he had to say,
and make fun of it.
– Thomas Carlyle

Try this:

SetHandler perl-script PerlHandler RT::Mason

<Location /timesheet>
SetHandler default-handler

Don’t you want php-script or whatever it is here?

Order is important.

I had tried both orders. Anyone know what the handler for php is? I don’t
see anything for it in my other php servers.

<Location /timesheet>
SetHandler default-handler

Don’t you want php-script or whatever it is here?

Order is important.

I had tried both orders. Anyone know what the handler for php is? I
don’t
see anything for it in my other php servers.

SetHandler application/x-httpd-php

Mark