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

Option to change default port for custom origin #5460

Closed
cyberduck opened this issue Nov 23, 2010 · 6 comments
Closed

Option to change default port for custom origin #5460

cyberduck opened this issue Nov 23, 2010 · 6 comments
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

be41b1e created the issue

Just been trying this feature out, which is a great addition. I think however there are easier ways of getting this to work. For example, if I want to make a distribution of www.wikijob.co.uk, I can't easily. The reasons are:

  • My bookmark is for wikijob.co.uk
  • The folder is /var/www on the server, so the origin URL cyberduck generates is http://wikijob.co.uk/var/www (when it should be http://www.wikijob.co.uk)
  • There is no way to configure what port it is to draw from. Like many high performance sites, we run varnish on port 80, which can interfere with CDNs. We run apache without varnish on 8080 to serve CDNs.
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Related to #5458.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please follow the configuration instructions in the wiki. You have to set the Web URL in the bookmark to match http://www.wikijob.co.uk) and set the default path of the bookmark to match your document root /var/www.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Currently we do not honor the port in the Web URL configured but we should.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Some work in 5e4f17e.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 4d0f0e6.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Revised fix in 9db5fad. To use a custom port, set the port in the web url configuration of the bookmark which serves as the origin. Refer to the documentation.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants