S2S-Robert
Verified User
Hi
I'd like to create the scripts for domaincreation and usercreation and such. What I would like to have in them is the following noticed by another thread:
http://www.directadmin.com/forum/showthread.php?s=&threadid=198&highlight=~username
The idea I've come up sofar is:
* When a user is created remove the symbolic link public_html and create a directory instead. Then create a link inside that directory to point to the correct domain.
* When a domain is created, just create a link inside the directory.
* When the domain is removed remove the symbolic link and perhaps when the user is created delete everything (but I assume this is already done by DA)
This way I would have an automated setup of http://ip/~user/<domain.ext> instead of having to create them manually for multiple domains under 1 user.
Any thoughts?
I'd like to create the scripts for domaincreation and usercreation and such. What I would like to have in them is the following noticed by another thread:
http://www.directadmin.com/forum/showthread.php?s=&threadid=198&highlight=~username
The idea I've come up sofar is:
* When a user is created remove the symbolic link public_html and create a directory instead. Then create a link inside that directory to point to the correct domain.
* When a domain is created, just create a link inside the directory.
* When the domain is removed remove the symbolic link and perhaps when the user is created delete everything (but I assume this is already done by DA)
This way I would have an automated setup of http://ip/~user/<domain.ext> instead of having to create them manually for multiple domains under 1 user.
Any thoughts?