<?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>Fri, 09 Jan 2009 06:25:37 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Dave Dash's Blog: symfony and the .htaccess file]]></title>
      <guid>http://www.phpdeveloper.org/news/8471</guid>
      <link>http://www.phpdeveloper.org/news/8471</link>
      <description><![CDATA[<p>
<i>Dave Dash</i> has <a href="http://spindrop.us/2007/08/15/symfony-and-the-htaccess-file/">another performance tip</a> for Symfony users involving a simple change involving your .htaccess file.
</p>
<blockquote>
One performance boost that can be garnered from a symfony app (or any app for that matter) is disabling .htaccess. .htaccess does not need to be parsed on each visit to your app. Disabling .htaccess is trivial in your VirtualHost or another relevant part of your apache configuration place.
</blockquote>
<p>
The information (like routing rules) that was inside of the .htaccess is then moved back into the VirtualHost inside the Apache configuration to make for less files the Apache instance needs to open to get its job done.
</p>]]></description>
      <pubDate>Thu, 16 Aug 2007 15:14:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tim Bromhead's Blog: Super friendly URLs - handling spaces with URL Rewrites and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7315</guid>
      <link>http://www.phpdeveloper.org/news/7315</link>
      <description><![CDATA[<p>
In <a href="http://bla.st/site/blog/64/">a new entry</a> today, <i>Tim Bromhead</i> shares his method for creating "super friendly urls" for a site's users using mod_rewrite:
</p>
<blockquote>
Today we are going to show how to make the URLs with spaces super easy to type for users. bla.st uses dashes in the URLs to represent spaces eg. http//bla.st/web-design/. We chose dashes over underscores because underscores can get lost with underlined links, and we think they look nicer.
</blockquote>
<p>
He <a href="http://bla.st/site/blog/64/">includes the Apache config</a> information for working with the VirtualHost entry and the simple PHP script to handle the requests. It looks in the SERVER superglobal, at the QUERY_STRING to see what the user is requesting and does an append and redirect accordingly. This example is made to take any form of a space in the URL (including underscores and %20), parse it out, and pass the user along correctly to the page they want.
</p>]]></description>
      <pubDate>Tue, 20 Feb 2007 13:35:00 -0600</pubDate>
    </item>
  </channel>
</rss>
