Hi,
I upgraded my system frm apache 1.3.37 to apache 2.2.4 with new build script, any everything went fine, but when I added new user, after restarting apache I got an error:
[root@us2 public_html]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 7 of /usr/local/directadmin/data/users/username/httpd.conf:
Port was replaced with Listen in Apache 2.0
[FAILED]
and when commented out port:
[root@us2 cewaporg]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 23 of /usr/local/directadmin/data/users/username/httpd.conf:
User cannot occur within <VirtualHost> section
[FAILED]
I'll manually edit the new user config files, but how to prevent this happening again when adding new users?
Maybe your files aren't rewritten yet. Please post an output of:
Code:
cat /usr/local/directadmin/conf/directadmin.conf | grep apache_ver