Processing multiple applications in the same domain
I have a build of an application using pimcore (ZendFramework) that is hosted on a Linux EC2 instance (Apache) and another application that is hosted on Windows IIS.
Now I want both of these apps to start like this:
- http://example.com/app1 will redirect to pimcore
- http://example.com/app2 will redirect to an IIS hosted application
I cannot use subdomains for this. I was trying to use IIS URL Rewrite (ARR). But ZendFramework gives the following error:
Zend_Controller_Router_Exception No route, document, custom route or redirect is matching the request
+3
source to share
1 answer
You will need a third web server as a reverse proxy . For example, this could be an example of Apache or Nginx.
The reverse proxy will serve your primary domain on port 80 and decide which address to call for in order to provide the appropriate content.
0
source to share