I'm wanting to set up users on a webserver, I'm setting up a public_html folder in their home location. I'm also setting up folders in /usr/local/www/apache22/data/example.com for each domain. I'm trying to set a symlink from the home directory to their respective domain folder using
Should I have the folders set in /usr/local/www/apache22/data or am I going the wrong path altogether?
ln -s /usr/local/www/apache22/data/example.com public_html
, but when I go to /usr/home/username/public_html it goes to /usr/local/www/apache22/data/ and shows all the folders I have set in there, and doesn't go to the folder I set in the symlink.Should I have the folders set in /usr/local/www/apache22/data or am I going the wrong path altogether?