Plesk directory structure problems
Posted
by johnnietheblack
on Server Fault
See other posts from Server Fault
or by johnnietheblack
Published on 2010-01-20T02:13:22Z
Indexed on
2010/04/20
3:03 UTC
Read the original article
Hit count: 382
I have an entire website with the following directory structure:
/example.com
/html (public)
/css
/js
index.php
/lib
session.php
other_lib_files.php
/views
index.php
/models
/controllers
As illustrated, the html is public, and anything above it is private.
My site now needs to upgrade servers, and the new server (Linux w/ Plesk) has the following structure (reduced to the problematic parts below):
/myplesksite.com
/httpdocs
/css
/js
index.php
/private
/lib
/models
/views
What I would THINK is that I should be able to put my /lib, /views, /models, etc in the directory directly above /httpdocs, the same way I had it in my previous server.
Is that possible? Or do I have to put it in private?
I would really love not to have to adjust my internal paths throughout the site if not necessary...
© Server Fault or respective owner