Results 1 to 3 of 3

Thread: apache2: bad user name

  1. #1
    Join Date
    Mar 2008
    Beans
    6
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Cool apache2: bad user name

    So I am trying to set up an apache server and I need multiple instances. I have the instances set up but I keep running into problems with then envvars file. Mine looks like this:
    Code:
    export USER=vinny
    export GROUP=www-data
    export APACHE_PID_FILE=/var/run/apache2.pid
    
    #User vinny
    #Group www-data
    I have searched the interwebs profusely and the community keeps telling me that i need to change the user and group to 'www-data' which I have done with no success. Anyone have any advice?

    PS: I am a CS major with moderate Linux experience.

  2. #2
    Join Date
    Apr 2008
    Beans
    Hidden!
    Distro
    Kubuntu 11.10 Oneiric Ocelot

    Re: apache2: bad user name

    Are your users names also users of the linux box?
    The way I have done it is the addusers to the box then run the httpd instances per user...it almost sounds like you may want to set up virtual servers...

    If you just want to check it out then the generic install configuration
    will show you if it works.
    Also you need to make sure your users are part of the Apache group.

  3. #3
    Join Date
    Mar 2008
    Beans
    6
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: apache2: bad user name

    Ya the users are part of the group www-data and apache but still no aval. I reinstalled it, but no success any suggestions?

    I got the latest Apache2 and Latest Ubuntu (9.04)

Tags for this Thread

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
  •