[horde] trean: 404 when deleting or saving after edit

Andy Dorman adorman at ironicdesign.com
Mon Dec 15 23:14:14 UTC 2014


On 12/14/2014 03:14 AM, Philip Frei wrote:
> Am Wed, 10 Dec 2014 12:04:13 +0100
> schrieb Jan Niggemann <jn at hz6.de>:
>
>> Creating bookmarks works fine, but saving after editing reproduceably
>> produces a 404 with http://domain.de/horde/trean/b/save not being
>> found, the same goes for deleting
>
> What's your OS? Do you use php-fpm?
>
> I have the same problem as described on a Debian system with php-fpm
> enabled. Without php-fpm everything works like expected. But I don't
> have a clue how to configure it right.
>
> greetings Philip.
>

We are testing Debian, Apache 2.4 with php-fpm, Horde 5.2.1 and trean 
1.1.1  and we are having the same problem...I actually thought I had 
fixed this last summer, but apparently not.

I am positive the issue is in our Apache 2.4 config, but I have been 
researching and experimenting for a couple of hours now and all I have 
done so far is cause Apache to crash a couple of times.

My current Apache 2.4 Horde directives look like this:

Alias /horde /usr/share/horde

<Directory /usr/share/horde>
   AllowOverride All
   Require all granted
   <IfModule mod_rewrite.c>
     RewriteEngine On
     RewriteBase /horde
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteRule ^(.*)$ index.php/$1 [QSA,L]
   </IfModule>
</Directory>

<Directory /usr/share/horde/config>
      Deny from all
</Directory>

<Directory /usr/share/horde/scripts>
      Deny from all
</Directory>

<Directory /usr/share/horde/locale>
      Deny from all
</Directory>

<Directory /usr/share/horde/lib>
      Deny from all
</Directory>

<Directory /usr/share/horde/templates>
      Deny from all
</Directory>

I even removed the /horde/.htaccess file to make sure the Apache 2.2 
directives in it were not causing a problem.

Anyone see what I have wrong above or am missing?

Thanks for any ideas or thoughts.

-- 
Andy Dorman


More information about the horde mailing list