Hello All,
(See bottom of post for solution. It was not a MODx problem.)
I’m using Evolution 1.0.2 and have a weird problem with friendly urls and the rewrite rule to exclude directories. I don’t know if it’s MODx or something buried in Apache (running on Linux, in a shared environment).
I installed a web calendar application outside of MODx, in /calendar.
I added the directory to the exclude string in .htaccess:
RewriteRule ^(manager|assets|calendar) - [L]
because I’m using Friendly URLS.
With and without the above .htaccess modification, when I pull up the various .php files in the /calendar directory, I’m able to correctly access some of them, but not others.
For example, I can correctly access /calendar/login.php and some others.
But when I go to /calendar/month.php and some other files, I get directed to the MODx error page, which leads me to believe that some of the files are being ignored by the rewrite rule, but not others.
I’ve verified that the files work; e.g. ’month.php’ works fine from the shell prompt.
I tried adding the .htaccess file that was in /manager/ to the /calendar/ folder, that turns off rewriting, to no avail.
I also noticed that when I commented out the ’manager’ directory from the string above, in .htaccess, /manager/ still worked (and the htacess file in /manager/ that turns rewrite off is disabled). Thus, I’m very puzzled as to how MODx is controlling the rewrite exceptions, and am wondering if the process is being done in the MODx scripts or data tables.
The biggest puzzler is that some, but not all, of the /calendar/ files are working correctly. It made me wonder if some of the files, like ’month.php’ were being included in the rewrite rule because the word ’month’ was reserved in MODx. But that didn’t make a lot of sense to me.
I’ve searched through the MODx forums, and the Apache mod_rewrite forums to no avail. So, after 3 hours of banging my head against the wall, I’m hoping that some MODx genius can help

.
I’ve also put in a ticket with the hosting company, with the thought that something in their Apache config might be responsible. But that still doesn’t explain how /manager/ is getting excluded correctly.
Thanks!
Peter Brown