New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

problem to start apache

Started by vassilis3, January 23, 2018, 05:51:30 PM

Previous topic - Next topic

vassilis3

Hello
Unable to start apache

Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 8 of /usr/local/apache/conf/sharedip.conf:
Invalid command '

Try to rebuild no luck
try yum remove cwp-httpd
yum install cwp-httpd
no luck

Centos 6

bullten

Paste the content of file here

cat /usr/local/apache/conf/sharedip.conf

vassilis3

[root@CentOS-68-64-minimal ~]# cat /usr/local/apache/conf/sharedip.conf
<VirtualHost 88.99.82.25:80>
    ServerName 88.99.82.25
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin info@centos-webpanel.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
    <Proxy "*">
        <IfModule mod_security2.c>
            SecRuleEngine Off
        </IfModule>
    </Proxy>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^88.99.82.25$
    RewriteCond %{HTTP_HOST} ^webmail.
    RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
</VirtualHost>
<Directory "/">
        AllowOverride All
        Require all granted
</Directory>
NameVirtualHost 172.31.1.100:80
[root@CentOS-68-64-minimal ~]#

vassilis3

solved but new problem apeared
solution
http://forum.centos-webpanel.com/apache/apache-error-after-rebuild/

new problem
unable to log in phpmyadmin

phpmyadmin error you should upgrade to mysql 5.5.0 or later
I run 5.6 !
any help?