Fix user CGIs for user vhost requests

This commit is contained in:
hedy 2022-03-30 15:38:01 +08:00
parent 60374d9e70
commit f7f6a27898
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ func resolvePath(reqPath string, conf *Config, req *Request) (path string) {
}
if user != "" {
req.filePath = path
path = filepath.Join("/home/", user, conf.UserDir, path)
req.user = user