Forum Moderators: phranque

Message Too Old, No Replies

Mod Rewrite - 500 Internal Error

         

melar09

9:04 pm on Sep 21, 2010 (gmt 0)

10+ Year Member



Anybody have any ideas as what is wrong here? I am still new to apache mod rewrites but I have a somewhat good idea what is going on but I keep getting flagged with a 500 internal server error except when I comment out line #4 it worked find prior to adding line #4 any suggestions as to whats wrong here?


Options +FollowSymLinks
RewriteEngine on
RewriteCond $1 !^(public|index\.php|thumbnail\.php)
RewriteRule ^thumbnail/(.*)$ /thumbnail.php?info=$1 [L]
RewriteRule ^(.*)$ /index.php/$1 [L]

g1smd

9:52 pm on Sep 21, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Rewritten filepath matches the original pattern on the next pass through, so it loops forever.

The RewriteCond applies only to the following RewriteRule.

You'll need to add another RewriteCond before the second RewriteRule.