Multiple apps, multiple versions of the app under the same domain. How to configure apache server, routes and relative paths to make it work?
问题 My team's server is set up in such as way: We have one domain name, which seems like already a subdomain of the company's domain. We want to host multiple applications under this one domain. We'd even like to have a production version and staging version for each of the apps on the server. Document root is an empty folder. Applications sit outside of the document root. we are trying to use the first token in the URL path to find out which app we try to access, then somehow redirect to it