hanscees
26 December 2016, 23:27
Hi,
just installed nextcloud using hiawatha using another post on this forum.
Nice!
UrlToolkit {
ToolkitID = nextcloud
Match ^/\.well-known/host-meta(\?(.*))? Rewrite /public.php?service=host-meta&$2
Match ^/\.well-known/host-meta\.json(\?(.*))? Rewrite /public.php?service=host-meta-json&$2
Match ^/\.well-known/carddav Rewrite /remote.php/dav/
Match ^/\.well-known/caldav Rewrite /remote.php/dav/
Match ^/remote/([^?]*)(\?.*)? Rewrite /remote.php$2
Match ^/index.php/([^?]*)(\?.*)? Rewrite /index.php$2
#Match ^/(?:build|tests|config|lib|3rdparty|templates)/.* DenyAccess
Match ^/.well-known/acme-challenge/.* Return
#Match ^/(?:\.|autotest|occ|issue|indie|db_|console).* DenyAccess
}
VirtualHost {
Hostname = nc.blabla.com
WebsiteRoot = /var/nextcloud
AccessLogfile = /var/nextcloud/logs/access.log
ErrorLogfile = /var/nextcloud/logs/error.log
TimeForCGI = 5
UseFastCGI = PHP5
UseToolkit = nextcloud
WebDAVapp = yes
EnablePathInfo = yes
StartFile = index.html
}
This topic has been closed.