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

Achim Bohnet ach at mpe.mpg.de
Tue Nov 15 15:19:58 UTC 2011


On Tuesday 15 November 2011 15:27:39 you wrote:
> The rewrite rule is a (partial) workaround for http auth problems when
> using apache+php-cgi.

Thx for the explanation.

> 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

So in case b) 'mod rewrite is not enabled', shouldn't we somehow trigger
at least an good error msg too, so the user is aware that webdav/caldav/carddav
will not work with this apache+php-cgi setup?  AFAIU the ifmodule check hiddes
only that webdav/caldav/carddav will not work.


Achim
> 
> - 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
> >
> 
> 

-- 
  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



More information about the Owncloud mailing list