domain post creation script

rldev

Verified User
Joined
May 26, 2004
Messages
1,003
I am trying to create a "www" symlink.

I tried

# Add www symlink to web directory
ln -s /home/${username}/domains/${domain}/public_html www

However this is not working. Anyone have any ideas?
 
you should state an absolute path for the link name unless you've cd into the folder


eg

ln -s /home/${username}/domains/${domain}/public_html /home/${username}/domains/${domain}/public_html/www


rldev said:
I am trying to create a "www" symlink.

I tried

# Add www symlink to web directory
ln -s /home/${username}/domains/${domain}/public_html www

However this is not working. Anyone have any ideas?
 
How can I havean absolute path? This is when a domain is created.

Da creates their symlink so their must be a simple way.
 
Back
Top