Page 1 of 1

.htaccess oddness

Posted: Thu Jul 28, 2005 11:01 pm
by Todd_Z

Code: Select all

ErrorDocument 404 /Error/

RewriteEngine On

RewriteRule ^Rss$ /Scripts/RssProjects.php
RewriteRule ^Paypal$ /Scripts/Paypal.php
RewriteRule ^Glossary/(.*)$ /Scripts/Glossary.php#$1

RewriteRule ^(їa-zA-Z0-9]*)/(їa-zA-Z0-9]*)/(їa-zA-Z0-9]*)/$ /?p=$1&q=$2&r=$3
RewriteRule ^(їa-zA-Z0-9]*)/(їa-zA-Z0-9]*)/$ /?p=$1&q=$2
RewriteRule ^(їa-zA-Z0-9]*)/$ /?p=$1
So thats my .htaccess- when I put in something like http://www.domain.com/Home/ however, it loads 3 different pages... Im guessing because it fits the 3 lowest rewrite rules? Idk, but anyways, how do I make it quit if it matches a rewrite rule?