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

Question: best way to create "vhost"-like hosting #147

Open
lexoyo opened this issue Jun 12, 2018 · 1 comment
Open

Question: best way to create "vhost"-like hosting #147

lexoyo opened this issue Jun 12, 2018 · 1 comment

Comments

@lexoyo
Copy link
Member

lexoyo commented Jun 12, 2018

The question is: should I use the new extension system for what I am thinking about

I want to create a service, where my user authenticate and have an ID. They should be able to access a folder on my FTP or amazon storage - list, upload, download files with cloud explorer. Then I will provide them with a subdomain, e.g. {id}.mydomain.com and I want to serve their files on this subdomain.

For the subdomain part I it is easy but for the "shared" FTP I would like to use the one provided by unifile, so maybe the extension system could add the ID to all paths? E.g. "/userfolder1/file.jpg" would be "/my/ftp/root/{ID}/userfolder1/file.jpg"

@JbIPS
Copy link
Collaborator

JbIPS commented Aug 26, 2018

Yes, I'm thinking of adding the path into the plugin lifecycle so it could be modified automatically.

From your example, you would setup a plugin to convert any path to your absolute one with ID

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