I would like to configure ispconfig3 so that: www.domain1.com points to /web/subfolder1 www.domain2.com points to /web/subfolder2 The subfolder name should not be visible in the URL so that: www.domain1.com/index.php points to /web/subfolder1/index.php www.domain2.com/index.php points to /web/subfolder2/index.php Is it possible? Thanks for any help.
I managed to get the redirect on physical folders by simply configuring an Aliasdomain in ISPconfig3 like: Domain: www.domainX.com Parent Website: TheSite Redirect Type: L Redirect Path: /subfolderX/ Auto-Subdomain: none Active: checked while I'm unable to redirect Aliasdomain on sub-folders of Wordpress multisite (based on sub-folders). Any help is appreciated.
A wordpress multisite install ahs to be installed directly into the "web" folder and not s usbfolder. If you install it to a subfolder and use a redirect, then the apache redirect rules from wordpress will collide with the apache redirect rules for the domain redirection.
Thanks Till. Wordpress is installed in the "web" folder but in the network management of the WP, /subfolder1/ and /subfolder2/ are configured as path of the two sites. These folders do not exist as physical folders but through rootdomain.com/subfolder1/ rootdomain.com/subfolder2/ I access to the two site as expected. By configuring the redirect of Aliasdomains I get the error 500 and in error.log there is: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
You can not use apache redirects together with a cms that uses apache redirects too to change the path or URL of a request. As you see in your website, this can cause redirect loops which end in a 500 error.