Jump to content

Recommended Posts

Let me outline my goal so you can understand my problem I am faced with for ctyankee.org (on Plesk #3). I have a main website and quite a few subdomains. I want to be able to use the same set of base include files for all the domains, but can\'t access them in an of the subdomains because of open_basedir restrictions which means i can\'t access files outside the domains directory meaning I can\'t access files under the main website. Is there any way

such that my subdomains can also view the pages under my directory,thus the open_basedir for the subdomains would need to be something like... /usr/local/psa/home/vhosts/admin.ctyankee.org/httpdocs:/tmp:/usr/local/psa/home/vhosts/ctyankee.org/httpdocs Adding that third part would allow access to files on the main domain.

 

The main part why I cant use the one type of solution is that as soon as the site is browsed I am finding that the entries that I had made inside httpd.include has been deleted or erased so this is the restriction of open_basedir, so how can I overcome the restriction of open_basedir :?:

Link to comment
https://forums.phpfreaks.com/topic/1490-open_basedir/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.