New in CWP Edge / LTSFree 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. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

httpd: Syntax error on line 4 of /usr/local/apache/conf.d/vhosts (c\xc3\xb3pia).

Started by greed, August 08, 2016, 10:44:55 PM

Previous topic - Next topic

greed

Good evening everyone.
I programmed the server at home and he works normal however apache does not start and the following error message in other place with other IP

Quotehttpd: Syntax error on line 4 of /usr/local/apache/conf.d/vhosts (c \ xc3 \ xb3pia) conf:
The address or port is invalid

When I access the vhosts file with Panel the following message

 
QuoteWARNING! File /usr/local/apache/conf.d/vhosts does NOT exist!

When access the vhosts.conf I have the following file

# vhost_start rick
<VirtualHost ######:80>
ServerName rick
ServerAlias www.rick
ServerAdmin my-email
DocumentRoot "/home/rick/public_html"
ScriptAlias /cgi-bin/ "/home/rick/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/rick/rick/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup rick rick
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup rick rick
        suPHP_ConfigPath /home/rick
</IfModule>

<Directory "/home/rick/public_html">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end rick

# vhost_start joao
<VirtualHost ######:80>
ServerName joao
ServerAlias www.joao
ServerAdmin my-email
DocumentRoot "/home/joao/public_html"
ScriptAlias /cgi-bin/ "/home/joao/public_html/cgi-bin/
#
# Custom settings are loaded below this line (if any exist)
# Include "/usr/local/apache/conf/userdata/joao/joao/*.conf

<IfModule mod_suexec.c>
        SuexecUserGroup joao joao
</IfModule>

<IfModule mod_suphp.c>
        suPHP_UserGroup joao joao
        suPHP_ConfigPath /home/joao
</IfModule>

<Directory "/home/joao/public_html">
        AllowOverride All
</Directory>

</VirtualHost>
# vhost_end joao

###### -> Is my share IP like 187.48.58.45
my-email -> I my email like contac@website.com


curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
[root@localhost ~]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
113   792  113   792    0     0    711      0  0:00:01  0:00:01 --:--:--  3458
===============================================
Kernel:
Linux localhost.localdomain 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz

Release:
CentOS release 6.8 (Final)

Arch:
x86_64

Virtualization Type:

Memory:
             total       used       free     shared    buffers     cached
Mem:          3823        605       3218         23         27        351
-/+ buffers/cache:        225       3597
Swap:         4999          0       4999

MySQL info:
mysql  Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1

Disk Info:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda2       454G  9,6G  421G   3% /
tmpfs           1,9G   72K  1,9G   1% /dev/shm
/dev/sdb1       917G   16G  855G   2% /backup


#
# /etc/fstab
# Created by anaconda on Thu Aug  4 15:42:39 2016
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=4d249edb-4ac9-4dd8-a913-19fe91535e0f /                       ext4    defaults,usrquota,grpquota        1 1
UUID=d6b36b58-a95c-48d0-a01b-9c8788cf6e4f /backup                 ext4    defaults        1 2
UUID=2efce80f-60f4-4406-92d2-b134be793320 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

Apache PHP info
PHP 5.4.45 (cli) (built: Aug  8 2016 18:08:12)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.2, Copyright (c) 2002-2016, by ionCube Ltd.

Apache start script check
httpd=${HTTPD-/usr/local/apache/bin/httpd}

CWP Admin check
/usr/local/cwpsrv/htdocs/admin
===============================================


What's going wrong for httpd does not start?