Mod_mysql_userdir?

Hello Nginx Team,
we would like to ask have you got solution for following problem.
We have ftp users that are authorized in mysql they want to see their
homedirs
through the web by using the same user and password.

for example:
http://site.com/username1/ → requires the username1 for username and
his password1
http://site.com/username2/ → requires the username2 for username and
his password2

But when open http://site.com/username1/ and auth with username2
password the reply from webserver must be access denied or rewrites
the path to http://site.com/username2/ and show his homedir.

it is similar like UserDir in Apache or
(http://www.mgamble.ca/oss/mod_mysql_userdir/) but we want to use it in
nginx.

Regards,

Posted at Nginx Forum: