owncloud / owncloud/ocis

How to host the web service from a subpath?

Open
#9,836 1 comment 1 reaction 0 assignees View on GitHub
Type:Bug
Dominant language
Go
Stars
2.1k
Forks
274
Avg merge
2d 1h
Merged PRs (30d)
103

Description

## Describe the bug
I want to be able to host the web service from a subpath, e.g. https://example.com/ocis. It seems that's not currenlty possible since `index.html` has `base href="/"`, even when I set the `WEB_HTTP_ROOT` environment variable to `/ocis`.

I also tried to edit the base href to `base href="/ocis"` from Caddy (using https://github.com/caddyserver/replace-response), but the login page is empty:

![image](https://github.com/user-attachments/assets/5d0b59a6-41e9-43c6-b493-466f95ec5c53)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.