
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Apache & suexec
On Sat, 8 Mar 2003 10:24, Jim Breen wrote:
> >> This is usually in the VirtualHost definition as suExec is about making
> >> things for that virtualhost run as a different user to the rest of the
> >> server (which is probably running as apache or nobody).
>
> And if it's not VirtualHost? AFAIK it isn't - no-one else is using Apache
> on this system. Some of my mirrors are VirtualHost, but the people running
> them know the ropes.
Then there is probably User/Group directives for the whole server in
conf/http.conf
or sometimes
conf/commonhttpd.conf
The server will run as this user, without suExec this is the normal behaviour.
suExec allows for VirtualHosts to specify another user for that host to exec
everything as.
Perhaps when virtual hosts aren't being used, suExec expects everything to be
owned by that global user. But I've not used it in this fashion myself. I
usually set up a VirtualHost even if there is only one site on the machine
(and put a redirect/rewrite in the global document root just in case).
If suExec is in effect it also insists on the uid and gid being greater than
100 (ie: can't be system accounts)
> Thanks Sam. I'll pass that to Jacek. Can I give him your email address?
>
> Jim
Sure.
--
--
Sam Tilders
sam@example.com
Cogito Ergo Sum - I think, therefore I am. (Descartes)
Home |
Main Index |
Thread Index