Ahh it doesn't like the same name. public_html
ln -s /home/username/public_html/web/public_html/ /what's inDocumentRoot/
ln -s TARGET [LINK_NAME]
What is your DocumentRoot set to?
if it's /home/username/public_html/web/public_html/ there shouldn't be a problem (!?)
You can essentially point any files to be accessible from what is in document root.
Or, you can point DocumentRoot to look anywhere for the files.
One of my httpd.conf's reads from
my index file is in Linux
If I change my mind I can set up another apache in
/usr/local/NewApache - and put that in my document root
and still access the old stuff with
ln -s /aar/Gonna_be_Web_Stuff/Linux /usr/local/NewApache
all my old web files now appear in /usr/local/NewApache
Hope this helps
even though index.php is under <document_root>/web/public_html
Change document root to <document_root>/web/public_html