Zend Framework - no public folder

Posted by poru on Stack Overflow See other posts from Stack Overflow or by poru
Published on 2010-03-22T21:15:33Z Indexed on 2010/03/22 21:21 UTC
Read the original article Hit count: 355

Filed under:
|

Hello,

I'm going to host an app on a shared host and there I couldn't create virtual host or change something at apache.

Often apps with ZF looks like that:

  • root
    • public
      • index.php
      • .htaccess
    • application
    • library

I have sth. like that:

  • root
    • application
  • index.php
  • .htaccess

All my code is in the application folder. But there are also some .ini and .xml files with sensitive information e.g. login names and passwords and so on...

If I add a .htaccess in the application folder with deny from all is the information secure inside the folder?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about apache