I have a site that has been moved from one server to another. The directory structure on the new server is different, and rather than change hundreds of files I would like to try to set up an alias for DocumentRoot.
The path contained in my files is:
/home/httpd/vhosts/domain.com/httpdocs/
The DocumentRoot in the vhost.conf on my server is:
DocumentRoot /srv/www/domain.com/public_html/
Is there a way to alias /home/httpd/vhosts/domain.com/httpdocs/ to /srv/www/domain.com/public_html/?
I have tried the Alias directive, but it didn't work, perhps I had the syntax wrong.