Server API CGI/FastCGI
System Linux
PHP Version 5.3.2
anyhting else you need, i can try and get
With some of these solutions i get 503/Forbidden, with others i get 404/not found and with others still, the php file will print as plain text to the browser window
I am running out of thigns to try, please help if you can
.htaccess -- have tried both of these
<Files FileName>
</Files>
<FilesMatch "^FileName(.*)$">
</FilesMatch>
With these between the tags
SetHandler application/x-httpd-php
ForceType application/x-httpd-php
SetHandler x-mapp-php
ForceType x-mapp-php
ForceType php5-cgi
With and without
Options +FollowSymlinks
I have also tried rewrite
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.+)$ /$1.php [L,QSA]
along with the more direct
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(FileName)(.*)$ FileName.php [L]
For testing, I have the file uploaded twice, as "FileName" and as "FileName.php"