Professional Web Applications Themes

Users in Apache - Linux Setup, Configuration & Administration

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....

  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. #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" <laidlawsmyaccess.com.au> wrote in message
    news:62j531-3p3.ln1dougshost.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

  3. #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" <laidlawsmyaccess.com.au> wrote in message
    > news:62j531-3p3.ln1dougshost.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

Similar Threads

  1. License.Limit.Exceeded with 4x150 users licence andonly 300 real users
    By mm_patrick in forum Macromedia Flash Flashcom
    Replies: 6
    Last Post: November 18th, 01:30 AM
  2. License.Limit.Exceeded with 4x150 users licence and only300 real users
    By danielalamaison in forum Macromedia Flash Flashcom
    Replies: 8
    Last Post: November 14th, 08:04 PM
  3. Replies: 3
    Last Post: August 9th, 05:55 PM
  4. Replies: 2
    Last Post: July 2nd, 01:48 PM
  5. Apache - certificate-based users auth
    By ppy in forum Linux / Unix Administration
    Replies: 0
    Last Post: July 16th, 10:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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