Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default Users in Apache

    I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in Apache
    on Mandrake, but easily under Knoppix Debian.

    It may be a permission problem. What is the standard file owner and group
    for Apache? I have seen references to "apache.apache" and to
    "nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
    directories as owned by user and group root.

    TIA,

    Doug.
    --
    Registered Linux User No. 277548.
    They say lightning never strikes twice in the same place. My typing is
    about as accurate. Apologies for any typos that slip in. - Doug.
    Doug Laidlaw Guest

  2. Similar Questions and Discussions

    1. License.Limit.Exceeded with 4x150 users licence andonly 300 real users
      As indicated by the ongoing discussion, this issue can have different causes - can you describe your application a little bit? How many users are...
    2. License.Limit.Exceeded with 4x150 users licence and only300 real users
      We have 4x150 users licence, set to unlimited bandwith. We get these messages in event viewer: Connection rejected by server. Reason : :...
    3. select all users whose emails belong to two or more users
      Say I wanted to create a query to select all the users whose emails belong to two or more users. How would I go about doing this? Here's what I...
    4. Enable additional users properties in Active Directory users and Computers
      "Mike Brannigan " <mikebran@online.microsoft.com> wrote in message news:O5qGXY1XEHA.808@tk2msftngp13.phx.gbl......
    5. Apache - certificate-based users auth
      Hello, i have problem with certificate-based users auth. There is a definition of one virtualhost (https). When I open this url https://xxx,...
  3. #2

    Default Re: Users in Apache

    Strange. Are you sure your directives are right?
    # Used in within <Virtualhost>
    # cgi-bin should be 755
    ScriptAlias cgi-bin /some/path/cgi-bin

    This has always worked for me.
    As far user.group of Apache. nobody.nobody or apache.apache
    is just fine.


    "Doug Laidlaw" <laidlaws@myaccess.com.au> wrote in message
    news:62j531-3p3.ln1@dougshost.mydomain.org.au...
    > I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in Apache
    > on Mandrake, but easily under Knoppix Debian.
    >
    > It may be a permission problem. What is the standard file owner and group
    > for Apache? I have seen references to "apache.apache" and to
    > "nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
    > directories as owned by user and group root.
    >
    > TIA,
    >
    > Doug.
    > --
    > Registered Linux User No. 277548.
    > They say lightning never strikes twice in the same place. My typing is
    > about as accurate. Apologies for any typos that slip in. - Doug.

    Jeff Howard Guest

  4. #3

    Default Re: Users in Apache

    Thanks Jeff. In commonhttpd.conf I have:

    ScriptAlias /cgi-bin/ /var/www/cgi-bin/
    ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/

    <Directory /var/www/cgi-bin>
    AllowOverride All
    Options ExecCGI
    </Directory>

    The directory /var/www/cgi-bin has permissions 755 and is owned by user and
    group apache.

    There is no mention of virtualhost in the conf file. Suexec is enabled.

    Doug.
    --
    Registered Linux User No. 277548.
    They say lightning never strikes twice in the same place. My typing is
    about as accurate. Apologies for any typos that slip in. - Doug.
    Jeff Howard wrote:
    > Strange. Are you sure your directives are right?
    > # Used in within <Virtualhost>
    > # cgi-bin should be 755
    > ScriptAlias cgi-bin /some/path/cgi-bin
    >
    > This has always worked for me.
    > As far user.group of Apache. nobody.nobody or apache.apache
    > is just fine.
    >
    >
    > "Doug Laidlaw" <laidlaws@myaccess.com.au> wrote in message
    > news:62j531-3p3.ln1@dougshost.mydomain.org.au...
    >> I have never been able to run cgi-bin FROM THE CGI-BIN DIRECTORY in
    >> Apache on Mandrake, but easily under Knoppix Debian.
    >>
    >> It may be a permission problem. What is the standard file owner and
    >> group
    >> for Apache? I have seen references to "apache.apache" and to
    >> "nobody.nogroup" Mandrake seems to set all files in the www and cgi-bin
    >> directories as owned by user and group root.
    >>
    >> TIA,
    >>
    >> Doug.
    Doug Laidlaw Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139