httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Pedriana <>
Subject Re: "User" httpd.conf statement doesn't work under Apache 2/Windows.
Date Tue, 25 Jun 2002 16:44:04 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
According to:<br>
<blockquote><a class="moz-txt-link-freetext" href=""></a><br>
We have:<br>
  <p>The <code class="directive">User</code> directive sets the userid as

    which the server will answer requests. <br>
In order to use this     directive, the standalone server must be run initially
as     root. <em><br>
Unix-userid</em> is one of:</p>
    <dt>A username</dt>
    <dd>Refers to the given user by name.</dd>
    <dt># followed by a user number.</dt>
    <dd>Refers to a user by their number.</dd>
      Windows has user accounts much like Unix, and they are generally referred
to by name.<br>
Thus, a User directive under Windows makes sense. I'll guess, however, that
the Win32<br>
version of the User feature simply doesn't work and nobody has take the effort
to make<br>
it work under Win32 as of yet. But as an alternative, it is in fact it is
possible to tell <br>
Windows to start the Apache service under a specific account, as you say,
so for now <br>
I'll do that.<br>
Dmitry Medvedev wrote:<br>
<blockquote type="cite"
  <pre wrap="">As far as I understand this you the User directove nas no sense in windows,
only in *nix systems.
The 1.3.20 version seems to just ignore this directive while the 2.0.39
refuses to start with it.

As alternative you can specify the account whose rights are to be assigned
to the web server at startup.

<blockquote type="cite"
  <pre wrap="">
----- Original Message -----
From: "Paul Pedriana" <a class="moz-txt-link-rfc2396E" href="">&lt;;</a>
To: <a class="moz-txt-link-rfc2396E" href="">&lt;;</a>
Sent: Tuesday, June 25, 2002 8:56 AM
Subject: "User" httpd.conf statement doesn't work under Apache 2/Windows.
  <blockquote type="cite">
    <pre wrap="">I am running Apache 1.3.20 under Windows and use the httpd.conf User
directive to
specify what user to run the service with, like this:
      User WebAccess

I wanted to move over to Apache 2.0.39 in order to get onto Apache 2.x
and to fix
the security problem that 1.3.20 has. But the above User statement fails
in Apache 2.0.39
under Windows. If I use it, then Apache 2.0.39 fails to start. If I
remove it, Apache 2.0.39
starts fine. If I start Apache 1.3.20 with the same httpd.conf file, it
starts fine.
Why would it do this? The documentation suggests that this should work

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message