<?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"
	>
<channel>
	<title>Comments on: Apache mod_rewrite Examples</title>
	<atom:link href="http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/</link>
	<description>Blogging on Software Reviews, Hardware, Downloads, Technology, Search Engines, AdSense, AdWords, Firefox, Windows, HowTo, Tips and Tricks, SEO, programming and web 2.0</description>
	<pubDate>Tue, 02 Dec 2008 13:54:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Mexabet</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-15732</link>
		<dc:creator>Mexabet</dc:creator>
		<pubDate>Fri, 31 Oct 2008 15:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-15732</guid>
		<description>Thanks for your tips! I have an photo album that generates album and image URLs every time an album and/or image is added. The generated album URLs look like this:
index.php?page=list-image&#38;album=1
index.php?page=list-image&#38;album=36
In one of my SQL tables I have an Album Name row as `al_name`

I want URLs like index.php?page=list-image&#38;album=1 to be rewritten by printing out /$row[\'al_name\']
So, the rewritten URL will look similar to /Best_Wedding_Photos/ if the Album Name is: Best Wedding Photos

Similarly, I need your help to rewrite the likes of the URLs below:
index.php?page=image-detail&#38;album=1&#38;image=1
index.php?page=image-detail&#38;album=1&#38;image=2
I would like these image URLs to be rewritten as:
/Best_Wedding_Photos/image-1.html if the Album Name is: Best Wedding Photos and image=1
Your time is much appreciated in advance.</description>
		<content:encoded><![CDATA[<p>Thanks for your tips! I have an photo album that generates album and image URLs every time an album and/or image is added. The generated album URLs look like this:<br />
index.php?page=list-image&amp;album=1<br />
index.php?page=list-image&amp;album=36<br />
In one of my SQL tables I have an Album Name row as `al_name`</p>
<p>I want URLs like index.php?page=list-image&amp;album=1 to be rewritten by printing out /$row[\'al_name\']<br />
So, the rewritten URL will look similar to /Best_Wedding_Photos/ if the Album Name is: Best Wedding Photos</p>
<p>Similarly, I need your help to rewrite the likes of the URLs below:<br />
index.php?page=image-detail&amp;album=1&amp;image=1<br />
index.php?page=image-detail&amp;album=1&amp;image=2<br />
I would like these image URLs to be rewritten as:<br />
/Best_Wedding_Photos/image-1.html if the Album Name is: Best Wedding Photos and image=1<br />
Your time is much appreciated in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrs Hafeez</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9738</link>
		<dc:creator>Mrs Hafeez</dc:creator>
		<pubDate>Sat, 26 Apr 2008 04:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9738</guid>
		<description>I have a folder with several articles ( .html page). I am recreating them to PHP pages adding a header and a footer. (PHP Template)
Like:   Header,  Content,   Footer
This can be done with the .htaccess file inside root directory.
These pages open from root directory without any problem, but I can’t open from subdirectory of root directory, it opens default page instead of the subdirectory’s page.
How can I open pages from subdirectory?</description>
		<content:encoded><![CDATA[<p>I have a folder with several articles ( .html page). I am recreating them to PHP pages adding a header and a footer. (PHP Template)<br />
Like:   Header,  Content,   Footer<br />
This can be done with the .htaccess file inside root directory.<br />
These pages open from root directory without any problem, but I can’t open from subdirectory of root directory, it opens default page instead of the subdirectory’s page.<br />
How can I open pages from subdirectory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9726</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Fri, 25 Apr 2008 04:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9726</guid>
		<description>Ok, please tell me what exactly are you trying to achieve using the htaccess file?</description>
		<content:encoded><![CDATA[<p>Ok, please tell me what exactly are you trying to achieve using the htaccess file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrs Hafeez</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9725</link>
		<dc:creator>Mrs Hafeez</dc:creator>
		<pubDate>Fri, 25 Apr 2008 04:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9725</guid>
		<description>Hello,

Thanks for the response, yes I can open every file without any problem from "cgi-bin"(directory) directly.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thanks for the response, yes I can open every file without any problem from &#8220;cgi-bin&#8221;(directory) directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9724</link>
		<dc:creator>Raj</dc:creator>
		<pubDate>Fri, 25 Apr 2008 04:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9724</guid>
		<description>Mrs Hafeez,
Do you see any problem when you try to open the cgi file directly?</description>
		<content:encoded><![CDATA[<p>Mrs Hafeez,<br />
Do you see any problem when you try to open the cgi file directly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrs Hafeez</title>
		<link>http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9695</link>
		<dc:creator>Mrs Hafeez</dc:creator>
		<pubDate>Wed, 23 Apr 2008 06:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bloghash.com/2006/12/apache-mod_rewrite-examples/#comment-9695</guid>
		<description>Hello,
In my web page, I have cgi gustbook in cgi-bin(subdirectory of root directory). How can I open these files with .htaccess (index.php). I have .htaccess with these lines :

 
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} -f
  RewriteRule \.html?   index.php [L]





Thanks</description>
		<content:encoded><![CDATA[<p>Hello,<br />
In my web page, I have cgi gustbook in cgi-bin(subdirectory of root directory). How can I open these files with .htaccess (index.php). I have .htaccess with these lines :</p>
<p>  RewriteEngine On<br />
  RewriteCond %{REQUEST_FILENAME} -f<br />
  RewriteRule \.html?   index.php [L]</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
