<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: Can you help me with .htaccess</title>
      <link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess/</link>
      <description>Comments on Ask MetaFilter post Can you help me with .htaccess</description>
	  	  <pubDate>Thu, 25 May 2006 19:50:30 -0800</pubDate>
      <lastBuildDate>Thu, 25 May 2006 19:50:30 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Can you help me with .htaccess</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess</link>	
  	<description>Help with modifying an .htaccess file. I&apos;m on Dreamhost and using Expression Engine, if that makes any diff. Disclaimer: I know nothing of the .htaccess thingy and have never touched it before. Please explain as if speaking to an idiot!&lt;br&gt;
&lt;br&gt;
I use the Expression Engine CMS which defaults to putting index.php in a url, like this:&lt;br&gt;
&lt;br&gt;
www.mydomain.com/index.php/template/&lt;br&gt;
&lt;br&gt;
According to &lt;a href=&quot;http://www.eewiki.com/wiki?title=Remove_index.php_From_URLs&quot;&gt;this page&lt;/a&gt; in the EE wiki, I can configure .htaccess to omit the index.php so it looks like this&lt;br&gt;
&lt;br&gt;
www.mydomain.com/template/&lt;br&gt;
&lt;br&gt;
However, I cannot make head nor tail of the instructions there.&lt;br&gt;
&lt;br&gt;
I use Dreamhost as my host and do not see an .htaccess file in the root. They do have .htaccess in their control panel and when I click it it asks me to create a new directory. &lt;br&gt;
&lt;br&gt;
Hence, I&apos;m lost.&lt;br&gt;
&lt;br&gt;
Any suggestions?</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.38918</guid>
  	<pubDate>Thu, 25 May 2006 19:32:18 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
	
	<category>dreamhost</category>
	
	<category>expressionengine</category>
	
	<category>htaccess</category>
	
</item>
<item>
  	<title>By: scottreynen</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601396</link>	
  	<description>If you&apos;re connecting via FTP, you might need to turn on a preference in your FTP client to show &amp;quot;invisible files,&amp;quot; files that start with &amp;quot;.&amp;quot; like .htacess. If you&apos;re using webftp.dreamhost.com, those files should show up automatically. If you don&apos;t see any .htaccess file, you just need to create a new one. Then you need to add something like this to the file:&lt;br&gt;
&lt;br&gt;
RewriteEngine On&lt;br&gt;
RewriteRule ^/template/(.*)$ /index.php/template/$1&lt;br&gt;
&lt;br&gt;
(I haven&apos;t tested that, so it may be wrong.)</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601396</guid>
  	<pubDate>Thu, 25 May 2006 19:50:30 -0800</pubDate>
  	<dc:creator>scottreynen</dc:creator>
</item>
<item>
  	<title>By: You Should See the Other Guy</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601404</link>	
  	<description>scottreynen, the wiki lists this code:&lt;br&gt;
&lt;br&gt;
RewriteEngine On&lt;br&gt;
RewriteCond %{REQUEST_FILENAME} !-f&lt;br&gt;
RewriteCond %{REQUEST_FILENAME} !-d&lt;br&gt;
RewriteRule ^(.*)$ /index.php/$1 [L]&lt;br&gt;
&lt;br&gt;
However, when I save it to a file and call the file .htaccess and upload it, I then get a server 500 error from my site.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601404</guid>
  	<pubDate>Thu, 25 May 2006 19:57:19 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
</item>
<item>
  	<title>By: Doofus Magoo</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601411</link>	
  	<description>&lt;blockquote&gt;&lt;i&gt;www.mydomain.com/index.php/template/&lt;br&gt;
&lt;br&gt;
According to this page in the EE wiki, I can configure .htaccess to omit the index.php so it looks like this&lt;br&gt;
&lt;br&gt;
www.mydomain.com/template/&lt;/i&gt;&lt;/blockquote&gt;&lt;br&gt;
Are you looking to access &lt;b&gt;www.mydomain.com/index.php/template/&lt;/b&gt; or &lt;b&gt;www.mydomain.com/template/index.php/&lt;/b&gt;?&lt;br&gt;
&lt;br&gt;
If the latter, you could just add the following line to your .htaccess:&lt;br&gt;
&lt;br&gt;
DirectoryIndex index.php</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601411</guid>
  	<pubDate>Thu, 25 May 2006 20:04:37 -0800</pubDate>
  	<dc:creator>Doofus Magoo</dc:creator>
</item>
<item>
  	<title>By: You Should See the Other Guy</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601416</link>	
  	<description>Doofus, EE adds /index.php after the domain name. Doing what you suggest would render as www.mydomain.com/index.php/template/index.php/&lt;br&gt;
&lt;br&gt;
I want to get rid of the first index.php</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601416</guid>
  	<pubDate>Thu, 25 May 2006 20:08:00 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
</item>
<item>
  	<title>By: scottreynen</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601424</link>	
  	<description>A 500 error that shows up after you add .htaccess files generally means the redirect is sending the server in an endless loop. Do the wiki instructions say &lt;em&gt;where&lt;/em&gt; you should put the .htaccess file? I think maybe you need to create a directory named &amp;quot;template&amp;quot; and put the .htaccess file in there if you want the address to be domain.com/template/.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601424</guid>
  	<pubDate>Thu, 25 May 2006 20:16:49 -0800</pubDate>
  	<dc:creator>scottreynen</dc:creator>
</item>
<item>
  	<title>By: Mitheral</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601433</link>	
  	<description>Meta hint: you might want to change your .htaccess tag to htaccess because the .htaccess tag returns a 403 when browsing the tag.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601433</guid>
  	<pubDate>Thu, 25 May 2006 20:21:25 -0800</pubDate>
  	<dc:creator>Mitheral</dc:creator>
</item>
<item>
  	<title>By: You Should See the Other Guy</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601437</link>	
  	<description>It doesn&apos;t specify. However, there are multiple templates not just one.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601437</guid>
  	<pubDate>Thu, 25 May 2006 20:23:31 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
</item>
<item>
  	<title>By: You Should See the Other Guy</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601439</link>	
  	<description>Does the htaccess file have to have certain permissions set?</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601439</guid>
  	<pubDate>Thu, 25 May 2006 20:24:35 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
</item>
<item>
  	<title>By: boost ventilator</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601441</link>	
  	<description>Can&apos;t recall where I spotted this today, but here is a .htaccess file generator: &lt;a href=&quot;http://cooletips.de/htaccess/&quot;&gt;http://cooletips.de/htaccess/&lt;/a&gt;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601441</guid>
  	<pubDate>Thu, 25 May 2006 20:28:54 -0800</pubDate>
  	<dc:creator>boost ventilator</dc:creator>
</item>
<item>
  	<title>By: You Should See the Other Guy</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601456</link>	
  	<description>Thanks, all! Got it working! &lt;br&gt;
&lt;br&gt;
(textedit was doing something to the file. I opened it in the ftp program and it looked all screwy. rewrote it in there, uploaded, worked!)</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601456</guid>
  	<pubDate>Thu, 25 May 2006 21:01:41 -0800</pubDate>
  	<dc:creator>You Should See the Other Guy</dc:creator>
</item>
<item>
  	<title>By: team lowkey</title>
  	<link>http://ask.metafilter.com/38918/Can-you-help-me-with-htaccess#601590</link>	
  	<description>In the future you probably just need to make sure that you save the file in plain text (not RTF or Word format), and that the FTP program is transferring in ASCII mode, not binary or auto-detect.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.38918-601590</guid>
  	<pubDate>Fri, 26 May 2006 02:14:49 -0800</pubDate>
  	<dc:creator>team lowkey</dc:creator>
</item>

    </channel>
</rss>
