Hi all,
In most of the ZF tutorials I have read (ZF Quickstart, Rob's one, ZF Book),
they all recommend setting your Apache's webroot to your /zfapp/public/
directory for security reasons.

I can understand the logic, putting the application / library directory
outside of the webroot is a good thing but I'm thinking ahead to
distribution and struggling to understand.  Take for example, vBulletin - a
popular forum software.  When you download vBulletin, you unzip it, grab the
/forum directory and dump it in your webroot.  Then visit
http://www.example.com/forum and there's your forum.  You could also put it
in /community/forum and it would work just as well.

I don't really understand how I could do that with ZF using the recommend
project structure.  How would I go about setting up my project structure /
.htaccess so the end user could put my app in whatever sub-folder they
wanted on their website, and not just in the webroot?

Thanks in advance :)

Alan.

Reply via email to