<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Mon, 20 May 2013 01:39:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15048</guid>
      <link>http://www.phpdeveloper.org/news/15048</link>
      <description><![CDATA[<p>
<i>Ilia Alshanetsky</i> <a href="http://ilia.ws/archives/226-Beware-of-the-default-Apache-2-config-for-PHP.html">has a suggestion</a> for those setting up PHP and Apache2 for the first time - beware of the default configuration!
</p>
<blockquote>
About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache. It seems that a number of distros including Gentoo (which is what I was using) are using the [same] configuration directive to make the PHP module parse PHP files
</blockquote>
<p>
The problem comes from their use of "AddHandler" versus "AddType" when telling Apache which files to parse as PHP. The first allows anything with ".php" in its filename to be parsed while the second limits it to just files ending in ".php". Check your configuration to ensure you're not open to this issue, especially if there's scripts/files outside of your control.
</p>]]></description>
      <pubDate>Tue, 31 Aug 2010 09:38:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[AnyExample.com: Making XML/XSLT driven site using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7646</guid>
      <link>http://www.phpdeveloper.org/news/7646</link>
      <description><![CDATA[<p>
On the AnyExample.com website, there's a <a href="http://www.anyexample.com/programming/php/making_xml_xslt_driven_site_using_php.xml">new tutorial</a> showing how to create an XML-based website that uses XSLT for its templates.
</p>
<blockquote>
XML and XSLT technologies provides standard ways of separation of presentation and data. This article contains an example of simple php "xslt engine" for XML driven web-sites which implements caching techniques and Apache-based XML file processing.
</blockquote>
<p>
They <a href="http://www.anyexample.com/programming/php/making_xml_xslt_driven_site_using_php.xml">start by</a> setting up the web server to parse all XML file requests through a handler script using Apache's directives. Following thi ssetup, there's three code blocks, one for each of the "moving parts" of the sample application - the XML content, the XSLT template to style it, and the PHP to bring them both together.
</p>]]></description>
      <pubDate>Wed, 18 Apr 2007 09:32:00 -0500</pubDate>
    </item>
  </channel>
</rss>
