@how@
Verified User
send you server information (PM)
or MSN [email protected]
or MSN [email protected]
doneBrad said:PM sent.
[root@cp customapache]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@cp customapache]# httpd -v
Server version: Apache/2.0.58
Server built: Jun 6 2006 06:59:29
[root@cp customapache]# php -v
PHP 4.4.2 (cli) (built: Jun 6 2006 07:17:29)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
gncthomas said:Hey Wael
i did the things you said, but after I did all the steps and tried to restart the httpd service, i get the following error message for all my users
port was replaced with listen in apache 2.0
+
user cannot occur within <virtualhost> section
off course i can change it manually in every user's httpd.conf file, but that keeps me busy all night.
any other solution??
thank you very much
greetz T
/usr/local/directadmin/data/usersold/
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
DirectAdmin Support said:Or the more humane method would be to ensure a correct apache_ver in your directadmin.conf, and simply type:Code:echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue /usr/local/directadmin/dataskq d
John
[root@s01 root]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 7 of /usr/local/directadmin/data/usersold/XXXXXXXXXX/httpd.conf:
Port was replaced with Listen in Apache 2.0
[FAILED]
perl -pi -e 's/User/#User/' /usr/local/directadmin/data/xxxxxx/*/httpd.conf
perl -pi -e 's/Group/#Group/' /usr/local/directadmin/data/xxxxxx/*/httpd.conf
perl -pi -e 's/Port 80/#Port 80/' /usr/local/directadmin/data/xxxxxx/*/httpd.conf
Warning: DocumentRoot [/home/xxxxxx/domains/xxxxxx.xxx/public_html] does not exist
[root@server5 directadmin]# service directadmin start
Starting DirectAdmin: /usr/local/directadmin/directadmin: /usr/local/directadmin/directadmin: cannot execute binary file
[FAILED]
/usr/local/directadmin/conf/directadmin.conf
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue