I have two directories having the same structure directory A
has all files, directory B
only files that differ from A
(i. e. an other logo.png). In addition I am running a ZendFramework that has a management and admin module where the bootstrap (index.php) should be triggered.
So www.my.com
, www.my.com/admin/
and www.my.com/management
should trigger the bootstrap file and all other locations should first been looked up in dir A
and then in B
and php files should be run from both folders.
I was searching and trying for hours and hours to solve this problem but I think there must be a better or easier way.
Is there?
Strange about it was that either the index.php from ZF was downloaded instead of executed or the other php files where downloaded an not executed. The trick did the part in location ~* \.php$
.