[users@httpd] Multisite not working for two websites

2022-05-01 Thread Josh Mustillo
Gday, I’ll post a link to my stack overflow post as it’s nicely formatted: https://stackoverflow.com/questions/72073312/apache-virtual-hosts-not-working-for-my-two-domains I’ve been trying for a couple of weeks on a oracle compute instance with no luck so I thought I would try a Multisite on a l

[users@httpd] Variable of document root path based on source ip

2022-05-01 Thread Ivan Ionut
I'm trying to set a virtual host on apache2 with this configuration. ServerName mysite.com ServerAlias www.mysite.com Define directory_path /srv/http/mysite Define directory_path /srv/http/under_construction DocumentRoot ${directory_path} Require all granted The problem is that the If