neo-hippie
Verified User
Hello,
first off the document: https://www.directadmin.com/features.php?id=498
doesn't include creating a symlink.
following the skins for CMD_DOMAIN
i'll use:
but it returns : [result_body] => error=1&text=Error creating symlink&details=No such file or directory
i logon using an admin loginkey trying to symlink a private_html to public html of a user.
and i've checked the directory /home/user/domains/domain/public_html and private_html both exists
from within directadmin i can change the fysical private_html to a symlink without a problem.
first off the document: https://www.directadmin.com/features.php?id=498
doesn't include creating a symlink.
following the skins for CMD_DOMAIN
i'll use:
PHP:
$sock->set_method('POST');
$sock->query('/CMD_API_DOMAIN',
array(
'domain' => $domain,
'action' => 'private_html',
'val' => 'symlink'
));
but it returns : [result_body] => error=1&text=Error creating symlink&details=No such file or directory
i logon using an admin loginkey trying to symlink a private_html to public html of a user.
and i've checked the directory /home/user/domains/domain/public_html and private_html both exists
from within directadmin i can change the fysical private_html to a symlink without a problem.