Fix user CGIs for user vhost requests
This commit is contained in:
parent
60374d9e70
commit
f7f6a27898
1
spsrv.go
1
spsrv.go
|
@ -252,6 +252,7 @@ func resolvePath(reqPath string, conf *Config, req *Request) (path string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if user != "" {
|
if user != "" {
|
||||||
|
req.filePath = path
|
||||||
path = filepath.Join("/home/", user, conf.UserDir, path)
|
path = filepath.Join("/home/", user, conf.UserDir, path)
|
||||||
req.user = user
|
req.user = user
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue