On 31/08/2010 13:21, Petar Dzhambazov wrote:
On 08/31/2010 10:57 AM, Zielun wrote:
Can anyone advice me how can I set many projects under existed on my
server
structure?
Structure is:
-www
-project1
-public
-project2
-public
-library
-Zend
I have vhost on apache for one ip with ServerName test.com and
DocumentRoot
set on www/project1/public.
So when I enter test.com I receive a project1 website
Now I`d like to add second project which should work for url:
test.com/project2
How can I configure it? I find a problem with DocumentRoot which
still leads
to www/project1/public.
Is it possible without creating second vhost? And even if I could create
second vhost I still have a problem with url address which might be
project2.test.com but not test.com/project2
thanks in advance for any help
Modules? And keep your libraries and project files behind root.
Typical hierarchy...
Server
-projectmain
-configs
-layouts
-modules
-project1
-controllers
-forms
-models
-views
Bootstrap.php (for module)
-project2
- as above
Bootstrap.php (main bootstrap)
-public
-public files
-libraries
If you want a basic modular template set-up with themes then let me know
and I shall send it off-list. It may be enough to get you going.
Mike A.