Zend framework deployment -


hello wanted upload web project done zend framework on ftp server. have uploaded public_html/projects/myproject directory (i uploaded whole folder structure, directories: application, docs, library, obsolete, public, scripts, tests, zend). if type www.mydomain.com/projects/myproject see these folders. if want run project have type www.mydomain.com/projects/myproject/public

i not surprised because it's expect, don't know how make folders other public inaccessible , run project after www.mydomain.com/projects/myproject... should achieve goal?

greetings!

you have put htaccess files in root, projects , myproject directories disallow access. don't know hand should

deny 

then in apache config, might file named sites-enabled, there should need add directory config default host, e.g.:

<virtualhost foobar:80>     crap here     more crap     <directory /projects/myproject/public>         options -indexes followsymlinks         allowoverride         order allow,deny         allow     </directory> </virtualhost> 

that should make site work.

remember add following project's htaccess file:

rewritebase /projects/myproject 

hope helps.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -