<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Hot Scripts Forums - Web Servers</title>
		<link>http://www.hotscripts.com/forums/</link>
		<description>Discuss web server related issues for servers like Apache, IIS, Tomcat, etc.</description>
		<language>en</language>
		<lastBuildDate>Sun, 22 Nov 2009 12:51:17 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://cdn.hotscripts.com/forums/hsforum/misc/rss.jpg</url>
			<title>Hot Scripts Forums - Web Servers</title>
			<link>http://www.hotscripts.com/forums/</link>
		</image>
		<item>
			<title>conflict between RewriteRule and AuthType Basic</title>
			<link>http://www.hotscripts.com/forums/web-servers/55804-conflict-between-rewriterule-authtype-basic.html</link>
			<pubDate>Sun, 08 Nov 2009 22:59:04 GMT</pubDate>
			<description><![CDATA[I've 2 .htaccess files, one on the root , and here's the content : 
 
Code: 
--------- 
Options +FollowSymLinks 
Options -Indexes 
RewriteEngine on 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L]]]></description>
			<content:encoded><![CDATA[<div>I've 2 .htaccess files, one on the root , and here's the content :<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Options +FollowSymLinks<br />
Options -Indexes<br />
RewriteEngine on<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]</code><hr />
</div>and the other one on &quot;/admin/&quot;, and here's the content :<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">AuthType Basic<br />
AuthName &quot;Administrator Control Panel&quot;<br />
AuthUserFile &quot;./passwd&quot;<br />
require valid-user</code><hr />
</div>when I visit : <a href="http://www.domain.com/admin/" target="_blank">http://www.domain.com/admin/</a><br />
it redirect me to /index.php <br />
and not showing the authentication window !!<br />
<br />
when I delete 2nd file which in &quot;/admin/&quot; , I can access <a href="http://www.domain.com/admin/" target="_blank">http://www.domain.com/admin/</a> <br />
and If I deleted 1st file, the authentication window on <a href="http://www.domain.com/admin/" target="_blank">http://www.domain.com/admin/</a> appears !</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/web-servers/">Web Servers</category>
			<dc:creator>m_abdelfattah</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/web-servers/55804-conflict-between-rewriterule-authtype-basic.html</guid>
		</item>
		<item>
			<title>Mod Rewrite Help</title>
			<link>http://www.hotscripts.com/forums/web-servers/55744-mod-rewrite-help.html</link>
			<pubDate>Mon, 02 Nov 2009 21:06:39 GMT</pubDate>
			<description><![CDATA[Hi Everyone, 
 
I'm running a website and am using simple URL rewriting to achieve search engine optimised URLs. I need to split a section of the website into a subdomain. For example i wish to split example.com/example into example.example.com. I want to keep the code the same and just change the...]]></description>
			<content:encoded><![CDATA[<div>Hi Everyone,<br />
<br />
I'm running a website and am using simple URL rewriting to achieve search engine optimised URLs. I need to split a section of the website into a subdomain. For example i wish to split example.com/example into example.example.com. I want to keep the code the same and just change the URL if possible. I've tried the following but just get a server error.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">RewriteCond %{HTTP_HOST} ^example<br />
RewriteRule (.*) index.php/example [NC,L]</code><hr />
</div>Does anyone have any suggestions?<br />
<br />
Thanks,<br />
Wayne</div>

]]></content:encoded>
			<category domain="http://www.hotscripts.com/forums/web-servers/">Web Servers</category>
			<dc:creator>whaffenden</dc:creator>
			<guid isPermaLink="true">http://www.hotscripts.com/forums/web-servers/55744-mod-rewrite-help.html</guid>
		</item>
	</channel>
</rss>
