I've got a pretty default ZF project, but I need to add TinyMCE to the mix. I have done that, but I also need a file manager for it, so I chose KCFinder. The problem here is, that it works through a couple of .php files.
I have created a virtual host, which leads to my public folder, leaving the logic unavailable from outside. The way i see it, is I need to create a rule for the default .htaccess file to allow the server to access a specific folder that has the .php files needed for the manager. This folder will have to reside in the public folder.
Could someone help me out with the RewriteRule statements?
SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
this is the .htaccess file I have now. Its pretty standard. My directory structure is:
host/
host/application/
host/public/
host/public/kc/
Public containts my index.php file for the Zend Framework, public/kc containts all of my .php files for the file manager. Thanks!