Page 2 of 2

Re: Exclude a group

Posted: Tue Apr 02, 2013 12:22 pm
by Gradwank
Thanks.

This is a bit beyond just SCJ software, but could you explain to me how this works:

RewriteRule ^gallery/(.*)/(.*)/index.html$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&content_id=$2 [L]
RewriteRule ^gallery/(.*)/(.*)/index.html$ /scj/tube/index.php?content_id=$2 [L]


There are two rules here, for the same URL; what determines which rewrite rule is invoked? ie one uses out.php - the other index.php --- is the {QUERY_STRING} in this detecting if its been skimmed to go to trade? if not, it uses index.php?

Re: Exclude a group

Posted: Tue Apr 02, 2013 1:05 pm
by admin
Yes, you are right.