[horde] SOLVED: TREAN: Editing bookmarks results in error
Carsten
horde-groupware at familie-lahme.de
Fri Dec 29 16:31:43 UTC 2017
Hi again,
it looks like I found a solution.
Based on this blog entry:
http://bofhsolutions.blogspot.de/2013/01/horde-spitting-out-404-on-task-creation.html
I modified my /etc/apache2/sites-enabled/[mysite].conf file like this:
------------------------------------------------------------------------------
<Directory /var/www/horde>
Order allow,deny
# AllowOverride None
Options +Indexes +FollowSymlinks +Includes
Allow from all
RewriteEngine On
AllowOverride All
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ rampage.php [QSA,L]
</Directory>
-------------------------------------------------------------------
and voilá it works.
Thanks for attention and patients
br
Carsten
Am 29.12.2017 um 15:06 schrieb horde-groupware at familie-lahme.de:
> Hi all,
> this has sleep for a while now, and after the last update (=> 5.2.22)
> it is back on my list.
> I started to x-check all the points.
> I have mod rewrite enabled and loaded:
> ------------------------------------------------------------------------
> # a2query -m
> [....]
> rewrite (enabled by site administrator)
> [...]
> --------------------------------------------------------------------
> I do have tried these two (separately) in the sites-enabled conf file:
> (1)---------------------------------------------------------------------
> [...]
> <Directory /var/www/horde/trean>
> RewriteEngine On
> RewriteRule ^/trean/b/(.*)$ /rampage.php/$1
> [NC,L]
> RewriteRule ^/trean/tag/(.*)$ /rampage.php/$1
> [NC,L]
> </Directory>
> [...]
> ---------------------------------------------------------------------
> (2)---------------------------------------------------------------------
> [...]
> <DirectoryMatch trean>
> RewriteEngine On
> RewriteRule ^/trean/b/(.*)$ /rampage.php/$1
> [NC,L]
> RewriteRule ^/trean/tag/(.*)$ /rampage.php/$1
> [NC,L]
> </DirectoryMatch>
> [...]
> ---------------------------------------------------------------------
>
> Nevertheless the rewrite does not seem to be processed.
> I edit an existing bookmark, change anything and click on save and I get:
>
> ---------------------------------------------------------------------
> https://[myFQDN]/trean/b/save
> Not Found
> The requested URL /trean/b/save was not found on this server.
> -------------------------------------------------------------------------------------
>
> Configuration:
> OS: 3.4.113-bananian #9 SMP PREEMPT Sat May 6 12:20:11 UTC 2017 armv7l
> GNU/Linux
> Engine: PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 10:31:58)
> WebServer: Apache/2.4.10 (Debian)
>
> best regards
> Carsten
>
>
>
> Am 23.05.2017 um 15:24 schrieb Jan Schneider:
>>
>> Zitat von Carsten <horde-groupware at familie-lahme.de>:
>>
>>> Hi everyone,
>>> I found that one on an older bug report, but it never seems to have
>>> been solved.
>>>
>>> "[horde] trean: 404 when deleting or saving after edit"
>>> https://bugs.horde.org/ticket/13743
>>> https://lists.horde.org/archives/horde/Week-of-Mon-20141208/053143.html
>>>
>>> I got this "bug",too.
>>> If I edit the bookmark in any way (examble: add a tag) and click on
>>> "save", I get a
>>> "The requested URL /trean/b/save was not found on this server."
>>>
>>> What am I doing wrong or what do I need to correct?
>>>
>>> br
>>> Carsten
>>
>> You need to have URL rewriting enabled in your webserver configuration.
>>
>
More information about the horde
mailing list