Jump to content

Recommended Posts

Hey guys i recently migrated 304 websites from my plesk server (Apache 2.2.3, PHP 5.1.6) to my Cpanel server (Apache 2.0.64, PHP 5.2.9) and i got a strange error with a few website that use to work fine ... What i understand is that those websites has flash plugins using XML files to load in the data. Now the problem is that the webmasters used an htaccess hack to rander the XML files as if it was a PHP file using this line of code:

 

AddType application/x-httpd-php .php .xml

 

The problem is that for some reason this line of code stoped working and the PHP is put up in clear texte inside the XML file causing the flash plugin to crash.

At first i thought it was a missing apache module. So i installed Mime Magic but that did not change a thing.

 

An other weird thing abbout this is that the line AddType code is not returning a server error 500 ...

 

Any help would be appreciated. Tx :-)

Link to comment
https://forums.phpfreaks.com/topic/247889-xml-as-php/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.