Hi,
IN a PHP script I call DirectAdmin api to create a new domain. I set the parameters for it to activate PHP and SSL. Now I want to know also the command/parameter for setting the symlink (for redirecting the private_html folder to public_html) .
The same function can be achived also in the Direct Admin, by selecting the radio button:
"Use a symbolic link from private_html to public_html - allows for same data in http and https"
but I want it to activate via api (if it is possible).
Or, are there some other solutions, i.e. via .htaccess file - how ..?
Thank you and regards,
Tadej
IN a PHP script I call DirectAdmin api to create a new domain. I set the parameters for it to activate PHP and SSL. Now I want to know also the command/parameter for setting the symlink (for redirecting the private_html folder to public_html) .
The same function can be achived also in the Direct Admin, by selecting the radio button:
"Use a symbolic link from private_html to public_html - allows for same data in http and https"
but I want it to activate via api (if it is possible).
Or, are there some other solutions, i.e. via .htaccess file - how ..?
Thank you and regards,
Tadej