PDA

View Full Version : [ubuntu] apache2: bad user name



fleury29
September 25th, 2009, 11:16 PM
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:


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.

rreese6
September 26th, 2009, 03:10 AM
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.

fleury29
September 30th, 2009, 11:51 PM
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)