Subdomain script should not add directory

jep

Verified User
Joined
Nov 12, 2003
Messages
79
Hi,

One of my clients uses the directadmin API to create a subdomain, that goes fine.

He wants to add a subdomain without creating the directory, because he already made it in the same script.

Is there a way to do this? We want it because the script makes this directory with the right permissions (apache). When he is doing it with the API-script, the directory is not writable for apache users.

Thanks,

Jesper
 

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,119
Location
California
I believe that the DA API fails if it can't create the directory.

How about reversing the order...

Have the DA API call write the directory, then his script can change the permissions.

Will that work for you?

Jeff
 
Top