Prev Previous Post   Next Post Next
Old 13th April 2013, 16:15
alzuin alzuin is offline
Junior Member
Join Date: May 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parse XML files as PHP

Hello all,
I have to migrate a very old site from a shared hosting to my LAMP Server: This is a CentOS 6.4 server with Apache/PHP controlled by ISPConfig My web hosting is configured using FastCGI to execute php code.
In this site there is some PHP code inside rss.xml file: in fact rss.xml is dynamycally generated every time rather to have an external script that write a static rss.xml file on every change.
In previous hosting, in .htaccess, I have a directive

AddType applcation/x-httpd-php .xml

to parse XML files as PHP, but on my LAMP server does nothing.
I tried the directive:

AddHeader fcgi-script .xml

but the server returns me an error:

104 connection reset by peer: mod_fcgid: error reading data from FastCGI server

Can you help me, please?
Alberto Zuin
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with ispconfig 3 staff007 Installation/Configuration 4 10th October 2011 22:17
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 13:25
php eating cpu shajazzi Server Operation 15 15th August 2007 02:19
Virtual Hosting Not Working stirfry Installation/Configuration 26 7th August 2007 11:53

All times are GMT +2. The time now is 08:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.