Separate the main domain from the addon proxy directive?
I have a problem of configuration of the addon domain, example.org. I installed on the main domain, i.e. example.com, an application developed in Perl with Dancer2 which runs on the Perl web server Starman and forward its requests to Apache through mod_proxy.The main domain, example.com, works fine. But when I want to access the addon domain, example.org, which has a simple static web page, it shows up example.com instead of the static page. I can't figure out how I can separate the main domain from the addon.
The proxy directive in the postvirtual include text area of Apache is:
Require all granted
ProxyPass
I suspect that this directive is global. I want it only for the main domain, example.com.
I hope I am clear.
Can anyone help me? Thank you.
Please sign in to leave a comment.
Comments
0 comments