Hello,
This is an error message:
Forbidden
You don't have permission to access / on this server.
Additionally, a 302 Found error was encountered while trying to use an ErrorDocument to handle the request.
Os: Debian 7.11
PHP : php-fpm
imscp 1.3.5
Hello,
This is an error message:
Forbidden
You don't have permission to access / on this server.
Additionally, a 302 Found error was encountered while trying to use an ErrorDocument to handle the request.
Os: Debian 7.11
PHP : php-fpm
imscp 1.3.5
And the apache logs for your domain alias say?
Sorry,
It is here:
Bug confirmed.
The problem occurs when a domain (here a domain alias) is redirected on another domain. There is an authorization problem somewhere. This will be fixed in next version which will be released in next hours. For now, I've fixed your setup using a RewriteRule instead of the LocationMatch. Please don't rerun the i-MSCP installer for now. I've fixed the templates located in the /etc/imscp/apache/parts directory but if you rerun the i-MSCP installer, my changes will be gone.
I'll investigate a bit more internally and provide a final fix.
Edit
The problem comes from the fact that in the LocationMatch, we don't give any authorization. Thus, the authorizations from the 00_nameserver.conf file applies, specially the following
leading to the following error
The fix consists to add the required authorizations
or to do the redirect outside of a LocationMatch by using RedirectMatch as follow
instead of
Additional issue (not related to the one above)
While running the imscp-reconfigure script to fix all your vhost files, the following warnings were outputed
These warnings mean that two of your mail entries are wrong in your database (e.g: Entries with a NULL value while that is not expected). Please don't remove my access to your server. I'll investigate for this issue too because that is not the first time that such warning is reported.
Edit
The warnings above are due to two mail entries (default webmaster forwarded mails) that have the mail_forward field set to NULL. I've fixed these entries in your database. I'll investigate in core a bit more and provide a fix to avoid such a situation.
Thank you.
Regarding the authorization problems:
A fix has been added in the 1.3.x branch. See https://github.com/i-MSCP/imsc…d8bc2d272a9b449620c940746
This fix will be part of the next release.
Thank you for your report.
Thanks for the professional help.