<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Enable .htaccess in Apache on Mac OS X 10.5 (Leopard)</title>
	<atom:link href="http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/</link>
	<description>bits from my life</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:22:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sambodhi Prem</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-195</link>
		<dc:creator>Sambodhi Prem</dc:creator>
		<pubDate>Tue, 28 Sep 2010 23:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-195</guid>
		<description>I used a free tool called &quot;Tinker Tool&quot; which allows me to change the visibility of files starting with a dot on the Mac.</description>
		<content:encoded><![CDATA[<p>I used a free tool called &#8220;Tinker Tool&#8221; which allows me to change the visibility of files starting with a dot on the Mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Musta</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-180</link>
		<dc:creator>Musta</dc:creator>
		<pubDate>Wed, 02 Jun 2010 11:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-180</guid>
		<description>Hi Vlad, finally it worked! 
It was just another silly mistake of mine. I just had to get ride of the .txt extention. That was all and thanks again for your time</description>
		<content:encoded><![CDATA[<p>Hi Vlad, finally it worked!<br />
It was just another silly mistake of mine. I just had to get ride of the .txt extention. That was all and thanks again for your time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-179</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Tue, 01 Jun 2010 20:18:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-179</guid>
		<description>I think it would be better to continue this conversation over email. Please provide a working email address and we will communicate further there. The one you are currently posting for the comments does not appear to be valid.</description>
		<content:encoded><![CDATA[<p>I think it would be better to continue this conversation over email. Please provide a working email address and we will communicate further there. The one you are currently posting for the comments does not appear to be valid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Musta</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-178</link>
		<dc:creator>Musta</dc:creator>
		<pubDate>Tue, 01 Jun 2010 17:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-178</guid>
		<description>Hi Vld, it is me again I tried again with a fresh reinstall of MAMP. This time I didn&#039;t get any error in my browser i get redirected to my navigation pages correctly but the urls rewrite just do not work. Instead of getting SEO friendly urls I only get the generated urls (like: http://localhost:8888/mysite/index.html?ProductId=232) with its variables in the navigator address bar. It is really weird, the newly created .htaccess files generate no errors but it just do no work. In my apache log file I get the following which I do not really know if it has to do with my problem.

[Tue Jun 01 19:23:29 2010] [notice] caught SIGTERM, shutting down
[Tue Jun 01 19:23:30 2010] [notice] Digest: generating secret for digest authentication ...
[Tue Jun 01 19:23:30 2010] [notice] Digest: done
[Tue Jun 01 19:23:30 2010] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured -- resuming normal operations

I am really disappointed with this since I could not keep on programming my application without enabling the Urls rewrite mod through .htaccess. And I am deeply sorry for losing your time.</description>
		<content:encoded><![CDATA[<p>Hi Vld, it is me again I tried again with a fresh reinstall of MAMP. This time I didn&#8217;t get any error in my browser i get redirected to my navigation pages correctly but the urls rewrite just do not work. Instead of getting SEO friendly urls I only get the generated urls (like: <a href="http://localhost:8888/mysite/index.html?ProductId=232" rel="nofollow">http://localhost:8888/mysite/index.html?ProductId=232</a>) with its variables in the navigator address bar. It is really weird, the newly created .htaccess files generate no errors but it just do no work. In my apache log file I get the following which I do not really know if it has to do with my problem.</p>
<p>[Tue Jun 01 19:23:29 2010] [notice] caught SIGTERM, shutting down<br />
[Tue Jun 01 19:23:30 2010] [notice] Digest: generating secret for digest authentication &#8230;<br />
[Tue Jun 01 19:23:30 2010] [notice] Digest: done<br />
[Tue Jun 01 19:23:30 2010] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured &#8212; resuming normal operations</p>
<p>I am really disappointed with this since I could not keep on programming my application without enabling the Urls rewrite mod through .htaccess. And I am deeply sorry for losing your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-177</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Tue, 01 Jun 2010 14:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-177</guid>
		<description>I am not sure what the problem is with your configuration as I have downloaded the latest copy of MAMP, installed it, created the .htaccess file with the content you provided and it works seemingly!

Do you receive any error in your browser? What page are you redirected to and what message do you receive when you access a webpage like: http://localhost:8888/mysite/index.html?ProductId=232</description>
		<content:encoded><![CDATA[<p>I am not sure what the problem is with your configuration as I have downloaded the latest copy of MAMP, installed it, created the .htaccess file with the content you provided and it works seemingly!</p>
<p>Do you receive any error in your browser? What page are you redirected to and what message do you receive when you access a webpage like: <a href="http://localhost:8888/mysite/index.html?ProductId=232" rel="nofollow">http://localhost:8888/mysite/index.html?ProductId=232</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Musta</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-176</link>
		<dc:creator>Musta</dc:creator>
		<pubDate>Tue, 01 Jun 2010 11:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-176</guid>
		<description>Hi Vlad, thanks for your quick reply. I have just followed your advice and at least I do not get the server internal error of apache. however I could not get the urls rewrite function through the following .htaccess file:



  # Enable mod_rewrite
  RewriteEngine On

  # Specify the folder in which the application resides.
  # Use / if the application is in the root. 
  RewriteBase /mysite


  # Redirect URLs ending in /index.php or /index.html to /
  RewriteCond %{THE_REQUEST} ^GET\ .*/index\.(php&#124;html?)\ HTTP
  RewriteRule ^(.*)index\.(php&#124;html?)$ $1 [R=301,L]

  # Redirect category pages
  RewriteRule ^.*-d([0-9]+)/.*-c([0-9]+)/page-([0-9]+)/?$ index.php?DepartmentId=$1&amp;CategoryId=$2&amp;Page=$3 [L]
  RewriteRule ^.*-d([0-9]+)/.*-c([0-9]+)/?$ index.php?DepartmentId=$1&amp;CategoryId=$2 [L]

  # Redirect department pages
  RewriteRule ^.*-d([0-9]+)/page-([0-9]+)/?$ index.php?DepartmentId=$1&amp;Page=$2 [L]
  RewriteRule ^.*-d([0-9]+)/?$ index.php?DepartmentId=$1 [L]

  # Redirect subpages of the home page
  RewriteRule ^page-([0-9]+)/?$ index.php?Page=$1 [L]

  # Redirect product details pages
  RewriteRule ^.*-p([0-9]+)/?$ index.php?ProductId=$1 [L]



instead When I checked the apache log file I get the following error.

authentication ...
[Tue Jun 01 12:57:55 2010] [notice] Digest: done
[Tue Jun 01 12:57:55 2010] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured -- resuming normal operations
[Tue Jun 01 12:59:29 2010] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/mysite/.htaccess

I would be so happy if you could tell me what I am doing wrong here. Thanks a lot Vald</description>
		<content:encoded><![CDATA[<p>Hi Vlad, thanks for your quick reply. I have just followed your advice and at least I do not get the server internal error of apache. however I could not get the urls rewrite function through the following .htaccess file:</p>
<p>  # Enable mod_rewrite<br />
  RewriteEngine On</p>
<p>  # Specify the folder in which the application resides.<br />
  # Use / if the application is in the root.<br />
  RewriteBase /mysite</p>
<p>  # Redirect URLs ending in /index.php or /index.html to /<br />
  RewriteCond %{THE_REQUEST} ^GET\ .*/index\.(php|html?)\ HTTP<br />
  RewriteRule ^(.*)index\.(php|html?)$ $1 [R=301,L]</p>
<p>  # Redirect category pages<br />
  RewriteRule ^.*-d([0-9]+)/.*-c([0-9]+)/page-([0-9]+)/?$ index.php?DepartmentId=$1&amp;CategoryId=$2&amp;Page=$3 [L]<br />
  RewriteRule ^.*-d([0-9]+)/.*-c([0-9]+)/?$ index.php?DepartmentId=$1&amp;CategoryId=$2 [L]</p>
<p>  # Redirect department pages<br />
  RewriteRule ^.*-d([0-9]+)/page-([0-9]+)/?$ index.php?DepartmentId=$1&amp;Page=$2 [L]<br />
  RewriteRule ^.*-d([0-9]+)/?$ index.php?DepartmentId=$1 [L]</p>
<p>  # Redirect subpages of the home page<br />
  RewriteRule ^page-([0-9]+)/?$ index.php?Page=$1 [L]</p>
<p>  # Redirect product details pages<br />
  RewriteRule ^.*-p([0-9]+)/?$ index.php?ProductId=$1 [L]</p>
<p>instead When I checked the apache log file I get the following error.</p>
<p>authentication &#8230;<br />
[Tue Jun 01 12:57:55 2010] [notice] Digest: done<br />
[Tue Jun 01 12:57:55 2010] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured &#8212; resuming normal operations<br />
[Tue Jun 01 12:59:29 2010] [error] [client ::1] client denied by server configuration: /Applications/MAMP/htdocs/mysite/.htaccess</p>
<p>I would be so happy if you could tell me what I am doing wrong here. Thanks a lot Vald</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/comment-page-1/#comment-175</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Tue, 01 Jun 2010 09:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.1on1.ro/2008/02/25/enable-htaccess-in-apache-on-mac-os-x-105-leopard/#comment-175</guid>
		<description>The answer to your problem is very simple: I presume you are trying to edit the .htaccess files with the built-in text editor on Mac, that&#039;s TextEdit. Unfortunately for this simple operation, the default setting in TextEdit is to create new documents in RTF format, instead of plain text.

So what I suggest is that you delete the previously created .htaccess files, open TextEdit, switch to plain text from &lt;b&gt;Format&lt;/b&gt; menu &gt; &lt;b&gt;Make Plain Text&lt;/b&gt; or &lt;b&gt;Cmd+Shift+T&lt;/b&gt;, add your content and save the .htaccess file.

You can also set this as default setting for TextEdit using &lt;b&gt;Preferences&lt;/b&gt; &gt; &lt;b&gt;New Document&lt;/b&gt; &gt; select &lt;b&gt;Plain Text&lt;/b&gt;.</description>
		<content:encoded><![CDATA[<p>The answer to your problem is very simple: I presume you are trying to edit the .htaccess files with the built-in text editor on Mac, that&#8217;s TextEdit. Unfortunately for this simple operation, the default setting in TextEdit is to create new documents in RTF format, instead of plain text.</p>
<p>So what I suggest is that you delete the previously created .htaccess files, open TextEdit, switch to plain text from <b>Format</b> menu > <b>Make Plain Text</b> or <b>Cmd+Shift+T</b>, add your content and save the .htaccess file.</p>
<p>You can also set this as default setting for TextEdit using <b>Preferences</b> > <b>New Document</b> > select <b>Plain Text</b>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

