S
S
SovGVD2012-02-29 13:36:18
MySQL
SovGVD, 2012-02-29 13:36:18

WebDAV with MySQL authorization and different documentroots

Good day to everyone,
my brain boils a little and I can’t figure out how to make access to user files via WebDAV, with authorization via MySQL, i.e. necessary
- the user goes to 192.168.1.123/webdav and logs in under the name user1, and ends up in the /var/www/user1 folder
- another user comes to the same address (in fact, the address may be different, but the IP or domain name is always different), but with the login user100500 and it takes him to the /var/www/user100500 folder
- etc.

options from 192.168.1.123/user1 192.168.1.123/user100500 are suitable , but in order not to write a piece for each user in the config, but to keep everything somewhere in mysql

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question