open_basedir manually

lawlawl

Verified User
Joined
Nov 19, 2007
Messages
13
Hey,

Is it possible to manually change an open_basedir for a specific domain?

My datacenter forgot to renew my DA license so i cant login at this time to disable the basedir on the domain in question.

So instead i need to do it manually.

I tried editing mydomain.com.conf in /usr/local/directadmin/data/users/myuser/domains/ by setting the open_basedir to off. Even after doing that and restarting DA & apache it remained turned on for my domain.

What did I miss out? How do i do it properly.
 
Take a look at this file;
Code:
/usr/local/directadmin/data/users/USER/httpd.conf
From here you are able to edit the open_basedir value from the line that begins
php_admin_value open_basedir
but commenting out the whole line may move the open_basedir effect?
 
Take a look at this file;
Code:
/usr/local/directadmin/data/users/USER/httpd.conf
From here you are able to edit the open_basedir value from the line that begins
but commenting out the whole line may move the open_basedir effect?

thanks a lot rich-boy.

I removed the line entirely (as domains which DA disabled open_basedir for have not got that line). So it works fine now.
 
Back
Top