/etc/init.d/apache2 start
Forcing reload of web server (apache2)...Syntax error on line 70 of /etc/apache2/sites-enabled/000-default:
User cannot occur within <VirtualHost> section
failed!
in /etc/apache2/sites-available/default
I add
<VirtualHost 10.15.13.13:80>
ServerAdmin
admin@y.com
ServerName
www.y.com
DocumentRoot /data/www/home/www.y.com
DirectoryIndex index.php index.htm index.html
ScriptAlias /cgi-bin/ /data/www/home/www.y.com/cgi-bin/
ErrorLog /data/www/logs/error/www.y.com-error_log
CustomLog /data/www/logs/access/www.y.com-access_log common
User www-data
Group www-data
</VirtualHost>
ls -l /data/www/home
drwxr-xr-x 3 www-data www-data 4096 2007-09-03 09:13
www.y.com
How I resolve ?
Thank you
cat /etc/passwd
www-data:x:33:33:www-data:/var/www:/bin/sh