2011-11-01, 18:35
HarryRosen Wrote:I think I got most of it, but when I do the restart i get the following error
root@FamilyRoom:/etc/apache2/sites-available# sudo /etc/init.d/apache2 restart
* Restarting web server apache2 apache2: bad user name user1
[fail]
root@FamilyRoom:/etc/apache2/sites-available#
my apache file looks like this
<VirtualHost *>
ServerName htpcfrontend
WSGIDaemonProcess htpcfrontend user=user1 group=group1 threads=5
WSGIScriptAlias / /var/www/htpc-frontend/htpcfrontend.wsgi
<Directory /var/www/htpc-frontend>
WSGIProcessGroup htpc-frontend
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Looks like the user "user1" probably doesn't exist (and I'm guessing that the group "group1" probably doesn't either) - if this is the case then create a new user and enter the user's name and group here.