<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.webmastersite.net/forums/templates/bootstrap/rss.css" ?>
<rss version="2.0"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:media="http://search.yahoo.com/mrss/"
 xmlns:atom="http://www.w3.org/2005/Atom"
 xmlns:georss="http://www.georss.org/georss"> 
<channel>
<title>WebmasterSite.net</title>
<link>https://www.webmastersite.net/forums</link>
<description></description>
<language>en-us</language>
<atom:link href="https://www.webmastersite.net/forums/rssfeed.php?thecondition=ownerid%3D1581" rel="self" type="application/rss+xml" />

<item>
<title>mod_rewrite</title>
<description>EDIT: sorry I couldn't edit in the version, which is 3.20b2Hi,clean install of 320 latest release, no changes anywhere.</description>
<link>https://www.webmastersite.net/forums/threads/mod_rewrite-5240.html</link>
<pubDate>Thu, 07 Jul 2005 13:17:25 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/5240/</guid>
<content:encoded><![CDATA[EDIT: sorry I couldn't edit in the version, which is 3.20b2<br /><br />Hi,<br />clean install of 320 latest release, no changes anywhere. <br />Never any problems with 3.13<br />I wanted to testrun the mod_rewrite. <br />Script is in /links. <br />Directory set to <a href="http://www.mydomain.com/links&
#34; rel="nofollow" target="_blank">http://www.mydomain.com/links</a> in general settings.<br />Everything works fine, untill I enable mod_rewrite.<br /><br />category rewrite works fine:<br /><a href="http://www.mydomain.com/links/Catname" rel="nofollow" target="_blank">http://www.mydomain.com/links/Catname</a><br /><br />however,<br />links don't work:<br /><a href="http://www.mydomain.com/links/links/1" rel="nofollow" target="_blank">http://www.mydomain.com/links/links/1</a><br />goes to that exact address and gives<br />"The requested page does not exist."<br />instead of the external url.<br /><br />I've read <pre class="code">http://www.webmastersite.net/oldforums/index.php?showtopic=2515</pre><br />which seems to be what it's all about,<br />but I haven't figured what I need to do to fix the problem.<br /><br />I was just going to post the .htaccess when I saw what the problem is<br /><br />original:<br /><div class="quote">Options +FollowSymlinks<br />RewriteEngine on<br /><br /># If not working, uncomment and correctly fill the line below:<br />RewriteBase  /links<br /><br />RewriteCond    %&#123;REQUEST_FILENAME}  -d<br />RewriteRule    ^(.+[^/])$           $1/  [R]<br /><br />RewriteRule ^admin$ admin/index.php<br />RewriteRule ^admin/$ admin/index.php<br /><br />RewriteRule ^link/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2<br />RewriteRule ^link/([0-9]+)/?$ link.php?id=$1<br /><br />RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1<br />RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2<br /><br />RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1<br />RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2<br /><br />RewriteRule ^([-_/&#92;+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1 <br /><br />RewriteRule ^links/([-_/&#92;+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2</div><br /><br /><br />modified (in bold):<br /><div class="quote">Options +FollowSymlinks<br />RewriteEngine on<br /><br /># If not working, uncomment and correctly fill the line below:<br />RewriteBase  /links<br /><br />RewriteCond    %&#123;REQUEST_FILENAME}  -d<br />RewriteRule    ^(.+[^/])$           $1/  [R]<br /><br />RewriteRule ^admin$ admin/index.php<br />RewriteRule ^admin/$ admin/index.php<br /><br />RewriteRule ^link/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2<br />RewriteRule ^link/([0-9]+)/?$ link.php?id=$1<br /><br /><b>RewriteRule ^links/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2<br />RewriteRule ^links/([0-9]+)/?$ link.php?id=$1</b><br /><br />RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1<br />RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2<br /><br />RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1<br />RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2<br /><br />RewriteRule ^([-_/&#92;+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1 <br /><br />RewriteRule ^links/([-_/&#92;+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2</div><br /><br />this works fine (so far). I suppose you could chuck the "link"-lines. I kept them while trying the "links"-rewrite.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/mod_rewrite-5240.html</comments>   
</item>

</channel>
</rss>