automatically setup a home/user/www/ symbolic link to /home/user/public_html/

4 posts / 0 new
Last post
#1 Sun, 02/20/2011 - 17:39
bwade30

automatically setup a home/user/www/ symbolic link to /home/user/public_html/

Is there a place in virtualmin that I can create a default to create a symbolic link called www/ that links to the /public_html/ directory for every new virtual server setup.

I would think I would have to set this up in server templates but maybe there is somewhere else I would do this.

this is so it's easier for clients to remember where their website files go.

Sun, 02/20/2011 - 18:01
helpmin

You would add this to the skeleton directory /etc/skel

Sun, 02/20/2011 - 18:51
bwade30

got it thanks! I just added www link pointing to ./public_html in the /etc/skel directory and it worked great when i setup a new site.

Sun, 02/20/2011 - 19:30
helpmin

Glad to hear it worked :-)

Topic locked