PDA

View Full Version : domain post creation script



rldev
09-20-2006, 07:42 PM
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?

hehachris
09-21-2006, 04:22 AM
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



Originally posted by rldev
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?

rldev
09-21-2006, 06:38 AM
How can I havean absolute path? This is when a domain is created.

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