Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change URL with overwrite.cli.url #9350

Closed
serverhack74 opened this issue Apr 30, 2018 · 1 comment
Closed

Change URL with overwrite.cli.url #9350

serverhack74 opened this issue Apr 30, 2018 · 1 comment

Comments

@serverhack74
Copy link

NC: 13.0.0
Apache 2.4.18
Mysql 5.7.21
PHP 7.0.28

Hi everybody, I've been changing values for overwrite.cli.url, but I'm not sure if its function is as I undestand.

is it possible to change the URL for the shared links? I mean, if I share a file by link it is accessible through www.domain.com/index.php/s/HHGRTESS (p.e.), i’d like to change the domain part for every link to www.domainalternative.com/index.php/s/HHGRTESS

I thought this was accomplished via the overwrite.cli.url, but it's not, the URL for the shared link is built from the accesed domain.

Is it that possible? I’ve been googling for a while but I cannot find any actual way.

Thanks!!!

@MorrisJobke
Copy link
Member

Use the config options overwritehost and overwriteprotocol to accomplish this in the web UI. the overwrite.cli.url is only used for the CLI based URL generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants