Hello,
I have several domains that each use their own subscription. Now I want to set up a MultiSite Wordpress and want to redirect selected traffic from domain A in subscription A into domain B in subscription B. Therefore I created a symbolic link inside the domain A directory that points to the domain B directory. Inside the .htaccess file I use this line for the redirect:
RewriteRule ^$ /LINK_TO_DOMAIN_B/index.php [L]
However this gives me a 403 Access denied:
"Forbidden
You don't have permission to access /domain_b/index.php on this server."
When I use the same setup, only placing domain B in subcription A (meaning domain A and domain B have the same parent folder) it works. Why?
I thought that in all cases the user would be www-data, so it should not matter if domain B is in a different subscription or not.
Thanks
I have several domains that each use their own subscription. Now I want to set up a MultiSite Wordpress and want to redirect selected traffic from domain A in subscription A into domain B in subscription B. Therefore I created a symbolic link inside the domain A directory that points to the domain B directory. Inside the .htaccess file I use this line for the redirect:
RewriteRule ^$ /LINK_TO_DOMAIN_B/index.php [L]
However this gives me a 403 Access denied:
"Forbidden
You don't have permission to access /domain_b/index.php on this server."
When I use the same setup, only placing domain B in subcription A (meaning domain A and domain B have the same parent folder) it works. Why?
I thought that in all cases the user would be www-data, so it should not matter if domain B is in a different subscription or not.
Thanks
Last edited: