Is it possible to change documentroot?

Status
Not open for further replies.

drofdk

New Member
Messages
1
Reaction score
0
Points
0
Hi,

I saw a post by 'lewellyn' that asked the same question, but for a different reason. I simply would like my documentroot to be /public_html/public since I use a web framework (Zend) that recommends a directory structure such that the public folder is a sibling to the other folders (such as library/application/etc). The configurations are tied to that structure and I could certainly change the configs but I would really like to keep the framework as close to best practices as possible.

Thank you
 

zapzack

New Member
Messages
606
Reaction score
19
Points
0
Meh, I failed.. Edited out.. Look below this comment at leafypiggy's
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
Or, he can make it his document root using a simple .htaccess line.

Code:
DocumentRoot /public
 
Status
Not open for further replies.
Top