hmmmm.... perhaps I need to add the /snakeMenu directory to my rewrite rule?
I also have some other nonstandard directories in my eZ publish directory. I have for instance all my javascripts placed in a directory called javascript. Do I need to include those non-standard directories as well?
Ok, after reading a little in mastering Regular Expressions by Jeffrey Friedl (O'Reilly), here's what I've come up with:
If I've understood this correctly "|" means OR inside parenthesis, so the rewrite rule basically states that whenever the beginning of the URL is one of the expressions OR'ed in the first parenthesis, followed by any charachters and then a dot, and the end of URL is one of the expressions in the last parenthesis, the browser is redirected to /index.php
If this is correct, I'm even more puzzled. Because the URL in the iframe shouldn't be redirected then since it's path is not in the first parenthesis.. or am I misunderstanding completely?
The first rule allows requests for the /snakeMenu/snakeMenu.html file to be returned without being passed to ez Publish (index.php). It's basically a pass through rule.
This method allows you to add "pass through" rules without making changes to the standard eZ Publish rule.
I should have added that [L] at the end of the first rules says "if this rule matches, don't process any more rules"
OK, now I understand. Made a bit of difference the first few words there :-)
Anyway, as I mentioned earlier I have a few other non-standard directories as well. I presume I could just OR these directories together with the snakeMenu directory in the first line to get things right.
Does that sound correct to you?
Best regards trondåge
trondåge
You must be logged in to post messages in this topic!