Hi again, sorry, but I may misunderstand open_basedir and path settings.
So I want to install basic services like nextcloud in a general place, where several subdomains can point to. Until now, I used softlinks, but I think, It would be better to do this via path.
I added ":/var/services/" to "Settings » Webserver settings » Paths to append to OpenBasedir".
Then, in the "Create subdomain" -> Path = "/var/services/nextcloud/" and in the drop down of "OpenBasedir-path" I selected "Path from field above".
I expected that this would set to folder at (root)/var/services/nextcloud, as it should be seen as valid destination, but instead, the folder is created at (root)/var/customers/webs/$USER/var/services/nextcloud/
Before I mindlessly try every possible constellation and break the server, I just ask, what I do wrong/misunderstood with the path settings and how to point to subdomain correctly.
BTW I also tried to go down directories with /../ but it's converted to single dot.
Question
Volatile
Hi again, sorry, but I may misunderstand open_basedir and path settings.
So I want to install basic services like nextcloud in a general place, where several subdomains can point to. Until now, I used softlinks, but I think, It would be better to do this via path.
I added ":/var/services/" to "Settings » Webserver settings » Paths to append to OpenBasedir".
Then, in the "Create subdomain" -> Path = "/var/services/nextcloud/" and in the drop down of "OpenBasedir-path" I selected "Path from field above".
I expected that this would set to folder at (root)/var/services/nextcloud, as it should be seen as valid destination, but instead, the folder is created at (root)/var/customers/webs/$USER/var/services/nextcloud/
Before I mindlessly try every possible constellation and break the server, I just ask, what I do wrong/misunderstood with the path settings and how to point to subdomain correctly.
BTW I also tried to go down directories with /../ but it's converted to single dot.
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now