• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Rewrite FileInfo Bug/Prob: Plesk 11.5, Horde 5.1.5, PHP EPEL/REMI 5.4.25, Apa 2.2.15

MarkusSc

New Pleskian
Hello,
I've a working Plesk installation with Horde Webmail (versions mentionned in title) on CentOS 6.5.
In the vhost configuration file horde.conf under /etc/httpd/conf/plesk.conf.d of "webmail.mydomain.tld" there is a directory entry for /usr/share/psa-horde to be run by the fcgi module:
Code:
<IfModule mod_fcgid.c>
        FcgidInitialEnv PP_CUSTOM_PHP_CGI_INDEX fastcgi
        FcgidInitialEnv PP_CUSTOM_PHP_INI "/etc/psa-webmail/horde/horde/php.ini"
        FcgidMaxRequestLen 134217728
        <Directory "/usr/share/psa-horde">
            <Files ~ (\.php$)>
                SetHandler fcgid-script
                FCGIWrapper /var/www/cgi-bin/cgi_wrapper/cgi_wrapper .php
                Options +ExecCGI
            </Files>

            SSLRequireSSL
            Order allow,deny
            Allow from all
        </Directory>
    </IfModule>

In this directory, there is a .htaccess file with the following content:
Code:
# IMPORTANT: DO NOT EDIT THIS FILE!
# It will be overwritten with any future upgrade.

Allow from all

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond   %{REQUEST_FILENAME}  !-d
    RewriteCond   %{REQUEST_FILENAME}  !-f
    RewriteRule ^(.*)$ rampage.php [QSA,L]
</IfModule>

This configuration leads to the problem that the short url, horde webmail system uses to write down a task for example /nag/t/save does not work. There are more short urls, which do not work either. At least the task system is unusable with these standard settings.
The .htaccess file is never executed, since in the horde.conf there is missing an AllowOverride FileInfo directive before </Directory>.
To get things to work, you have to delete the Allow from all from the .htaccess file, otherwise apache does not start.

Please, could you tell me what am I doing wrong, or put the changes into the standard, because after every change in the server configuration my changes are overwritten.

Thanks, Markus
 
Last edited:
Back
Top