[horde] Internal Server Error after latest Horde update

Erling Preben Hansen erling at eph.dk
Tue Feb 2 21:22:21 UTC 2016


  Citat af lst_hoe02 at kwsoft.de:

> Hello,
>
> today i updated horde as usual with pear and after restart i got a
> internal server error. In the logfile the following was logged 
> "/var/www/horde/.htaccess: Require not allowed here" and indeed when
> disabling the "Require" part it works again like it should
>
> # IMPORTANT: DO NOT EDIT THIS FILE!
> # It will be overwritten with any future upgrade.
>
> #<IfModule authz_core_module>
> #    Require all granted
> #</IfModule>
> <IfModule !authz_core_module>
>    Allow from all
> </IfModule>
>
> <IfModule mod_rewrite.c>
>    RewriteEngine On
>    RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>    RewriteRule .* -
> [env=REDIRECT_HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>    RewriteCond   %{REQUEST_FILENAME}  !-d
>    RewriteCond   %{REQUEST_FILENAME}  !-f
>    RewriteRule ^(.*)$ rampage.php [QSA,L]
> </IfModule>
>
> This is on fairly stock Ubuntu 14.04 LTS with Apache 2.4.7. Is this an
> error in my configuration or where should i dig to not get it trouble
> with the next update again?
>
> Thanks
> ..
> Andreas
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe, mail:
> horde-unsubscribe at lists.horde.org

Hey

The short answer:
The best solution would be to put all your .htaccess data in apaches conf
files.
and disable the use of .htaccess files.
That will make your apache server faster too.
It don't need to look for .htaccess when the directives are written in conf
files.

The long answer:
Ohhh I am tired.. :-)
If you need it. Ask and I will try........

/erling


More information about the horde mailing list