• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

open_basedir

D

drwho

Guest
Hi

I am new to plesk but I have a client who has a piece of software that has issues with open_basedir.

They have a dedicated godaddy server so they have no admin restrictions.

They are not Unix administrators, have no Unix experience and would not even be aware that they can login as root, etc, etc........ In any case having them edit files with vi on the server would be an interesting concept.

Their applications unfortunatly will not run at all with the default open_basedir configuration.

I can change it with vhost.conf as root however, this server will host many copies of the same software and they need to be able to sort this out for them selves.

I was looking at changing the default so that open_basedir was set to "none" globaly....I know its a security thing but as its a deditcated server I dont think its to big problem for them. Do you think I can work out where to do this?........Nope, unfortunatly I cant.

It seems and I may be (probably are, more than likely) wrong but it seems that the default virtual servers information for httpd.include is built into "websrvmng". Would this be right?

Failing in being able to change the defaults is there anyway through admin in plesk at being able to edit or upload a vhost.conf file into the appropriate "conf" directories. Currently by default "conf" is only accessable as root. Is there a config for plesk somewhere that allows this to be changed?


Anyways, I think thats about it for now.

TIA

DW
 
Only root can change a vhost's config. However, you can change the skeleton so a newly created domain has a vhost.conf that allows access to extra directories (I don't recommend disabling the open_basedir path completely). There was a thread about this recently, search the forums.
 
Thanks Breun

Now where is the skeleton, I have looked for it but with no luck

I did find some likely suspect files in /etc/httpd/conf.d and in particular zz010_psa_httpd.conf but could not get changes in that file to flow through.....I may not have been doing things correctly though.

Cheers

DW
 
Beautiful, Thankyou Breun

Works like a charm...just like a bought one.

Cheers

DW
 
So question,

Where is the origional httpd.include data stored and retrieved from when a new domain is added?....and can that be modified?

Thanks

Cheers

DW
 
Don't ever modify httpd.include (as is stated in the comments of every httpd.include file), but create a vhost.conf to add or override any setting you like.
 
Back
Top