safe_mode OFF for a subdomain which domain set to ON ???

markus

Verified User
Joined
Nov 7, 2004
Messages
90
Location
Girona, Catalunya
I have PHP safe_mode ON for all my domains, but I need to set safe_mode OFF just for a subdomain.

Is that possible?


...or a need to do that by rewriting the httpd.conf of that particular subdomain with the subdomain_create_post.sh custom script? ...I'm not sure if that will work. :confused:


Thanks
 
...or a need to do that by rewriting the httpd.conf of that particular subdomain with the subdomain_create_post.sh custom script? ...I'm not sure if that will work. :confused:
Nope. It might works when creating the subdomain, it might rewrite the httpd.conf for the user replacing safe_mode ON to OFF.

The problem is DA might regenerate that httpd.conf without calling subdomain_create_post.sh. For instance when it processed this command:
Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue

So, it seems there's no way. :(


Anyone knows a solution to this? The goal is set safe_mode ON for a domain, but set safe_mode OFF for one of its subdomains.

I posted a feature request here:
http://www.directadmin.com/forum/showthread.php?s=&threadid=6596

Maybe DA will support this in the future... :rolleyes:
 
Back
Top