Alias /MyFirstWebsite/images/profilePhotos /var/www/mySecondWebsite.com/images/betterProfilePhotosI put this above any <Location> or <Directory> statements, but below the DocumentRoot,ServerName, and ServerAlias directives.
It is important to always test these changes with an apache/httpd reload rather than a restart to minimise downtime if a config error has occurred.
NB: All required files should also be in the new web-root and have the same name, if not you will receive a 404.
No comments:
Post a Comment