<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ServerGrove Blog &#187; windows</title>
	<atom:link href="http://blog.servergrove.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.servergrove.com</link>
	<description>VPS &#38; Shared Hosting, symfony, Zend Framework, Rails, Adobe Flex, Hosting News, Web Design Tips, Webhosting and more....</description>
	<lastBuildDate>Tue, 31 Aug 2010 19:26:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fixing problems in Apache with case-sensitive URLs</title>
		<link>http://blog.servergrove.com/2010/08/24/fixing-problems-with-case-sensitive-urls/</link>
		<comments>http://blog.servergrove.com/2010/08/24/fixing-problems-with-case-sensitive-urls/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 14:58:12 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Shared Hosting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mod_speling]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.servergrove.com/?p=1313</guid>
		<description><![CDATA[Windows or Mac servers treat file names as case-insensitive, so Index.html and index.html are the same file. In Linux/Unix servers this is not the case, these files would be different. So when we create a link that does not match the case of the file name, you get an error. This is a common problem [...]]]></description>
			<content:encoded><![CDATA[<p>Windows or Mac servers treat file names as case-insensitive, so Index.html and index.html are the same file. In Linux/Unix servers this is not the case, these files would be different. So when we create a link that does not match the case of the file name, you get an error. This is a common problem when moving files from Windows/Mac to a Linux production server and your links include incorrect case.</p>
<p>The ideal solution is to go over the entire site and correct these mismatches. But this may take some time and usually one finds out about the problem when the site has been moved and the domain pointed to the new server, so the problem has to be fixed ASAP.</p>
<p>There is a quick solution thanks to Apache&#8217;s <a href="http://httpd.apache.org/docs/2.2/mod/mod_speling.html">mod_speling</a>. If you need Apache to check different versions of a file name requested, you can use <a href="http://httpd.apache.org/docs/2.2/mod/mod_speling.html">CheckCaseOnly and CheckSpelling directives</a>. Adding one of these directives in a .htaccess file in the root directory of your site instantly fixes most of these problems. An example of this configuration is:</p>
<pre>CheckSpelling on
</pre>
<p>We need to note that this method delivers a performance hit. Apache will have to double check each request for spelling when it does not find the file right away. So let it be noted that this is a quick fix; long term it is recommended that you backtrack and correct all the links. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.servergrove.com/2010/08/24/fixing-problems-with-case-sensitive-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing the symfony web development environment installer</title>
		<link>http://blog.servergrove.com/2009/12/17/introducing-the-symfony-web-development-environment-installer/</link>
		<comments>http://blog.servergrove.com/2009/12/17/introducing-the-symfony-web-development-environment-installer/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:25:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.servergrove.com/?p=858</guid>
		<description><![CDATA[When Symfony 1.3 &#038; 1.4 were released, little attention was given to a new feature that had tremendous potential: the installer. By adding &#8211;installer=installFile.php is possible to execute custom PHP code when creating a new symfony project. So when I came across this I had an idea that could save us all some time. Every [...]]]></description>
			<content:encoded><![CDATA[<p>When Symfony 1.3 &#038; 1.4 were released, little attention was given to a new feature that had tremendous potential: <a href="http://www.symfony-project.org/blog/2009/06/10/new-in-symfony-1-3-project-creation-customization">the installer</a>. By adding &#8211;installer=installFile.php is possible to execute custom PHP code when creating a new symfony project.</p>
<p>So when I came across this I had an idea that could save us all some time. Every time we want to try some thing quick, do a prototype, test a plugin or simply start a new application, we create a new symfony project. The common workflow once the project is created is to add a new &#8220;virtual&#8221; hostname to the hosts file so we can reach the project through the browser, then add a virtual host to the Apache configuration, so the &#8220;virtual&#8221; hostname points to the correct web directory of the project, etc&#8230; These steps are repetitive and consume a bit of time and quite frankly I&#8217;d love to automate this whole thing. For that I created the <a href="http://github.com/pgodel/SymWebDevInstaller">symfony Web Development Environment Installer</a> (also known as project codename: Swedein).</p>
<p>The installer will ask you a series of questions: ie. IP address, hostname, location of Apache installation. It can also locate the Apache configuration by looking for it in common places. Then it goes ahead and adds a line to the hosts file, adds the virtual host block to Apache&#8217;s configuration and restarts Apache. In a matter of seconds you should be ready to go.</p>
<p><a href="http://blog.servergrove.com/wp-content/uploads/2009/12/swedein.png"><img src="http://blog.servergrove.com/wp-content/uploads/2009/12/swedein.png" alt="swedein" title="swedein" width="500" height="364" class="alignnone size-full wp-image-870" /></a></p>
<p>To run the installer, you have a couple of options:</p>
<p>a) <a href="http://labs.servergrove.com/SymWebDevInstaller/SymWebDevInstaller.php.txt">Download the installer file</a>, rename it to SymWebDevInstaller.php and run:</p>
<p><code>symfony generate:project myproject --installer=path/to/SymWebDevInstaller.php</code></p>
<p>b) If you have support for http URLs in your PHP you can simply run:</p>
<p><code>symfony generate:project myproject --installer=http://labs.servergrove.com/SymWebDevInstaller/SymWebDevInstaller.php<br />
</code></p>
<p>Note: There is a bug in the generate:project task that prevents URLs from being used with the &#8211;installer option. This should be fixed soon.</p>
<p>This is being tested in:</p>
<ul>
<li>Windows XP with Zend Server CE</li>
<li>Mac OS X with Zend Server CE</li>
<li>CentOS Linux</li>
<li>Ubuntu Linux</li>
</ul>
<p>In Mac OS and Linux, the script will need to have permissions to update the hosts file and the Apache configuration. Make sure your user has permissions or use sudo to execute the installer. Restarting Apache is supported on Linux only. Other OSes coming soon.</p>
<p>We are looking for help to include and test in other types of installations and to add other improvements the community might think about. You can either check out the <a href="http://github.com/pgodel/SymWebDevInstaller">github repository</a> where we can receive patches or send it to us and we will update it. We look forward to your feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.servergrove.com/2009/12/17/introducing-the-symfony-web-development-environment-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
