If I have two virtual hosts using, say:
DocumentRoot /web-sites/domain1.com/public
DocumentRoot /web-sites/domain2.com/public
and one vhost is non-TLS and the other is TLS-only, can I allow them
to share common resources (such as css) by doing something like this
in the server section:
Alias /resources /web-sites/common-public/resources
<Directory /web-sites/common-public/resources>
Require all granted
</Directory>
and then, inside file, say, /index.html, for either vhost, write:
<link rel="stylesheet" href="resources/common.css" />
Thanks.
Best regards,
-Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]