Control Web Panel

WebPanel => Apache => Topic started by: vassilis3 on January 23, 2018, 05:51:30 PM

Title: problem to start apache
Post by: vassilis3 on January 23, 2018, 05:51:30 PM
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
Title: Re: problem to start apache
Post by: bullten on January 23, 2018, 06:42:50 PM
Paste the content of file here

cat /usr/local/apache/conf/sharedip.conf
Title: Re: problem to start apache
Post by: vassilis3 on January 23, 2018, 06:44:07 PM
[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 ~]#
Title: Re: problem to start apache
Post by: vassilis3 on January 24, 2018, 11:37:25 AM
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?