Reputation: 4392
I have a PHP web app served by Apache on a vhost.
I've just created an API in Scala, and would like to deploy Apache vhost config for it without touching the vhost config of the PHP web app.
The PHP app is at www.mydomain.com
and the API will be served at www.mydomain.com/api
(same domain/subdomain, allowing cookies to be shared)
I'm trying to treat the Apache config for each as separate concerns, although they both share the same ServerName
.
Is it possible to get Apache to accept two .conf
files that, combined, form the definition of a vhost for a domain?
Upvotes: 0
Views: 79