How does Apache resolve 'localhost' -


with regular apache setup, typing localhost or 127.0.0.1 browser result in apache trying serve files out of ~/public_html. want know how ~ part resolved, since no information system user included in http request, , multiple users using same apache service @ same time, can't resolved based on "current logged in user". how apache know how resolve ~?

apache has user directive available.

the user directive sets user id server answer requests. in order use directive, server must run root. if start server non-root user, fail change lesser privileged user, , instead continue run original user.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -