title: Setting up .htaccess for Zend Framework
body: <p>I'm following a tutorial on Zend Framework here (http://www.ibm.com/developerworks/opensource/tutorials/os-php-zend2/section2.html). I barely got started, but I'm having problems setting up this .htaccess file. Under Listing. 1 in the link, there is a block of code the article says I need to create:</p>
  
  <pre><code>htaccess
  
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} -s [OR]
  RewriteCond %{REQUEST_FILENAME} -l [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^.*$ - [NC,L]
  RewriteRule ^.*$ index.php [NC,L]
  
  php_value include_path ".;c:\ZendFramework\library"
  </code></pre>
  
  <p>How do I create the .htaccess file properly so that an index.php file, which is nothing more than just a few prints on the page, will be opened properly on my localhost? My Zend is at E:\zendframekwork\library. So far, I have the following:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} -s [OR]
  RewriteCond %{REQUEST_FILENAME} -l [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^.*$ - [NC,L]
  RewriteRule ^.*$ index.php [NC,L]
  
  set_include_path('.;E:\zendframekwork\library');
  </code></pre>
  
  <p>As you can see, I removed the "htaccess" part (do I need that?) and rewrote the last line, but it is obviously incorrect as I still get an error when trying to open index.php. How do I write this correctly?</p>
  
  <p>Also, the tutorial mentions HTTPD.CONF directives having correct paths for Zend.. I looked up my HTTPD.CONF file on Apache, but there is nothing refering to Zend. Do I need to do something about this as well?</p>
  
  <p>TIA!!</p>