• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

RewriteRule into another subscription

rewb0rn

New Pleskian
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
 
Last edited:
Okay for anyone wondering: There were 2 issues. First I had to add Options FollowSymLinks -SymLinksIfOwnerMatch, so that Apache would follow SymLinks even if the owner is different. After that I had to add the path into the open_basedir in the php.ini so that php would run in the linked location as well.
 
Back
Top