On Sat 2.Jul'16 at 22:37:49 +0200, Adam Wolk wrote: > On Sat, 2 Jul 2016 19:26:57 +0000 > "C. L. Martinez" <carlopm...@gmail.com> wrote: > > > Hi all, > > > > I am trying to install NextCloud under an OpenBSD 5.9 host using > > OpenBSD's httpd. But I am not sure that Nextcloud can work with > > OpenBSD's httpd. > > > > First of all, rewrite rules like these: > > > > <IfModule mod_rewrite.c> > > RewriteEngine on > > RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}] > > RewriteRule ^\.well-known/host-meta /public.php?service=host-meta > > [QSA,L] RewriteRule > > ^\.well-known/host-meta\.json /public.php?service=host-meta-json > > [QSA,L] RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L] > > RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L] > > RewriteRule ^remote/(.*) remote.php [QSA,L] RewriteRule > > ^(build|tests|config|lib|3rdparty|templates)/.* - [R=404,L] > > RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.* > > RewriteRule ^(\.|autotest|occ|issue|indie|db_|console).* - [R=404,L] > > </IfModule> > > > > Can be backported to OpenBSD's httpd? I am thinking to install > > apache on the same host, configure NextCloud on it, and redirect > > requests from OpenBSD's httpd to apache (listening on localhost only). > > > > What do you think? > > > > Thanks. > > > > -- > > Greetings, > > C. L. Martinez > > > > > https://github.com/reyk/httpd/wiki/Running-ownCloud-with-httpd-on-OpenBSD > > Ownclud works with httpd. Nextcloud should also work. >
Thans Adam. I will read carefully and I will try to configure using this guide: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/www/owncloud/pkg/README?rev=1.44&content-type=text/x-cvsweb-markup Many thanks to all. -- Greetings, C. L. Martinez