[Owncloud] rewrite bug in apache: 500 internal server error

Robin Appelman icewind1991 at gmail.com
Tue Nov 15 14:27:39 UTC 2011


The rewrite rule is a (partial) workaround for http auth problems when
using apache+php-cgi.

a) If you don't use apache you don't need the workaround

b) you won't be able to use webdav/caldav/carddav on apache+php-cgi,
not much we can do about it

- Robin Appelman



On Tue, Nov 15, 2011 at 13:44, Achim Bohnet <ach at mpe.mpg.de> wrote:
> On Tuesday 15 November 2011 13:09:53 Pascal d'Hermilly wrote:
>> On 14-11-2011 18:35, Jakob Sack wrote:
>> > what happens if you replace
>> > RewriteEngine on
>> > RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
>> > <--
>> > with
>> > <IfModule mod_rewrite.c>
>> > RewriteEngine on
>> > RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
>> > </IfModule>
>> > <--
>> > Does it work then?
>> Yes :-)
>
> I assume the rewrite rule serves a purpose. So what will
> stop working when
>
>        a) webserver is not apache
> or
>        b) mod_rewrite is no enabled
>
> ?
>
> Achim
>
>>
>> Pascal
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>>
>
> --
>  To me vi is Zen.  To use vi is to practice zen. Every command is
>  a koan. Profound to the user, unintelligible to the uninitiated.
>  You discover truth everytime you use it.
>                                      -- reddy at lion.austin.ibm.com
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>



More information about the Owncloud mailing list