Hi All,

My .htaccess have these entries before some other entries

RewriteRule ^([a-z0-9]+)$ /myfiles/listpro.php?search=$1 [NC]
RewriteRule ^([a-z0-9]+)/(.*)$ /myfiles/listpro.php?search=$1&page=$2 [NC] [L]

When someone searches by a keyword eg:Macintosh, the url must be http://www.mysite.com/Macintosh
It is working fine.

But i have pagination implemented on these pages and when it is clicked the server falls in an infinite loop and breaking it

http://www.mysite.com/Macintosh/recent/11 as i my second rewrite rule
Does my rule right and also is listing in the right order?

The other entries preceding this are

RewriteRule web/(.*)$ /myfiles/listpro.php?cat=web&page=$1
RewriteRule web /myfiles/listpro.php?cat=web [L]

like web there are other entries like intranet, pc, etc ( and these are fixed categories unlike search keywords entered by the user)
These all are above the Macintosh entry and works fine even with pagination

Pls help me to sort this out



Tuesday, May 24 2005 06:20 AM