Quantcast
Channel: Reason ForceType application/x-httpd-php on .htaccess not working at all - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Reason ForceType application/x-httpd-php on .htaccess not working at all

$
0
0

I have tried to use:

.htaccess

<Files client> ForceType application/x-httpd-php</Files>

client file

<?php      echo "FOO BAR";?>

Just to test, but the server is not parsing the client file, it just serves it up as a file download. I tried SetHandler also without luck.

UPDATE

I'm using MediaTemple and the have there own way of doing things. I can't use ForceType bu I can use this.

<Files client>     SetHandler php-script</Files client>

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images