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 runroot
. if start server non-root user, fail change lesser privileged user, , instead continue run original user.
Comments
Post a Comment