How to hide Zend's application.ini from the public?

Your document root setting in your web server configuration should point to the subdirectory that has your index. Php in it, not the top-level directory of the whole application install E.g. , you have something like: myapp/application/Bootstrap.

Php myapp/application/configs/application. Ini myapp/application/controllers/... myapp/application/views/... myapp/library/... myapp/tests/... myapp/public/index. Php Set your document_root to myapp/public and not myapp.

Your document root setting in your web server configuration should point to the subdirectory that has your index. Php in it, not the top-level directory of the whole application install. E.g.

, you have something like: myapp/application/Bootstrap. Php myapp/application/configs/application. Ini myapp/application/controllers/... myapp/application/views/... myapp/library/... myapp/tests/... myapp/public/index.

Php Set your document_root to myapp/public and not myapp.

E.g. Includes, fopens, etc?– RemiX Oct 19 '10 at 15:55 For internal references (like in fopen()) there should be no change. For external references (like a URL), you'll no longer use mydomain.

Com/myapp/public/index. Php -- you'll use mydomain. Com/index.

Php – Alex Howansky Oct 19 '10 at 18:27.

If you don't have access to change your document root and you are using the Apache web server, the "quick and dirty" approach might be to create a ". Htaccess" file with the following contents, created in: /application/configs Contents: deny from all.

I solved this trouble, writing in the . Htaccess file the following lines: order allow,deny deny from all.

I solved this trouble, writing in the . Htaccess file the following lines: order allow,deny deny from all – Pablo Sep 4 at 19:58.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions