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