This rule works
I have above only one rule
AddType application/x-httpd-php .html
and /pages/main/page.php realy exist.
But I have one more question. In this CMS folder /pages/main/ is only for first menu level. When user create somthing like this:
main
-Offer folder
-----First page.html
-----Second page.html
- Contact folder
- About Us folder
- Offer page.html
- Contact page.html
- About Us.html
This rule dosen't work for First page.html. Patch to this page is :
www.mydomain.com/pages/main/offer/firstpage.html
How to write rule for firstpage.html?