PDA

View Full Version : Apache handlers



PRB
04-25-2009, 05:32 PM
Hi,

Simple question:

I have ".s" file which I want to run as ".php" files, how do I do this? I have searched but couldnt find anything. Can you tell me what to enter at the Apache Handler screen? I got root access if neccessary.

PRB
04-26-2009, 04:03 PM
Please anyone? :(

scsi
04-27-2009, 06:58 AM
Just add it as a php handler.

PRB
04-27-2009, 07:48 AM
Just add it as a php handler.

Can you tell me what to put where? :rolleyes:

scsi
04-27-2009, 07:58 AM
Search /etc/httpd/conf/extra for

"AddType application/x-httpd-php"

I forget what file its in.

PRB
04-27-2009, 02:44 PM
Hmm...

I don't want to add that for the entire server, just for one user. I thought the Apache Handlers in DirectAdmin on User Level was meant for such purposes?

scsi
04-27-2009, 02:58 PM
Guess it is so just add that there.

application/x-httpd-php s