Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - OnlyHard

Pages: [1] 2
1
CentOS 7 Problems / Re: CWPpro gone after rebooting.
« on: May 15, 2019, 07:27:47 PM »
And if not!?
If the ip is not the same!?

2
Addons / Featured - IP Auto Updater
« on: May 15, 2019, 03:59:37 PM »
Well here I go, because I'm want to know if there is any way for the panel to update the ip when it gets a new ip!?
For example, when machine or panel reboots, and get a new public IP adress!
I want to know if there is already a solution for this, if there is any practical solution for this, without having to edit the files manually when the server updates the ip.
I can create a script that does it automatically!
Is there any possibility of implementing this !?
Thanks in advance!
This topic will be updated in the future!

3
CentOS 7 Problems / Re: Clamav + Amavis not auto starting
« on: May 15, 2019, 03:24:59 PM »
try this,
yum remove clamav -y
yum ynstall clamav -y

reboot ant test if thats work or not

4
how did you got this config files to have html content in it ?

I do not know! The truth is this !!
But I managed to solve my problem!

5
Hi guys,
And hello everyone.
Well, I have been experiencing problems with my CWP, in which my httpd service does not start!
Initially problem show's me that:
Code: [Select]
May 14 12:58:01 webserverhousingdata.dynu.net systemd[1]: Starting Web server Apache...
May 14 12:58:01 webserverhousingdata.dynu.net apachectl[15924]: httpd: Syntax error on line 511 of /usr/local/apache/conf/httpd.conf: Syntax error on line 4 of /usr/local/apache/conf/sharedip.conf: Expected 500> but saw
May 14 12:58:01 webserverhousingdata.dynu.net systemd[1]: httpd.service: control process exited, code=exited status=1
May 14 12:58:01 webserverhousingdata.dynu.net systemd[1]: Failed to start Web server Apache.
May 14 12:58:01 webserverhousingdata.dynu.net systemd[1]: Unit httpd.service entered failed state.
May 14 12:58:01 webserverhousingdata.dynu.net systemd[1]: httpd.service failed.
a my full config  its in /usr/local/apache/conf/sharedip.conf
Code: [Select]
<VirtualHost  XXx.XXX.XX.XX:8181>
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html> XXx.XXX.XX.XX:8181>
    ServerName  XXx.XXX.XX.XX
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
    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} !^<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>$
    RewriteCond %{HTTP_HOST} ^webmail.
    RewriteRule ^/(.*) http://%{HTTP_HOST}:2095/$1 [P]
</VirtualHost>
<Directory "/">
        AllowOverride All
        Require all granted
</Directory>
that was giving me problems. So, I searched and replaced the configs in my file with this --> "https://forum.centos-webpanel.com/apache/apache-error-after-rebuild/"
like this
Code: [Select]
# NameVirtualHost  XXx.XXX.XX.XX:8181 # Deprecated
<VirtualHost  XXx.XXX.XX.XX:8181>
    ServerName  XXx.XXX.XX.XX
    DocumentRoot /usr/local/apache/htdocs
    ServerAdmin infoooooas@centos-webpanel.com
    <IfModule mod_suphp.c>
        suPHP_UserGroup nobody nobody
    </IfModule>
</VirtualHost>
<Directory "/">
        AllowOverride All
        Require all granted
</Directory>

After that, I rebooted the machine, the problem seemed partially solved, appeared to me another error, this time anything half bizarre ...
Code: [Select]
May 14 13:04:35 webserverhousingdata.dynu.net systemd[1]: Starting Web server Apache...
May 14 13:04:35 webserverhousingdata.dynu.net apachectl[17705]: httpd: Syntax error on line 512 of /usr/local/apache/conf/httpd.conf: Syntax error on line 4 of /usr/local/apache/conf.d/system-redirects.conf: Expected 500> but saw
May 14 13:04:35 webserverhousingdata.dynu.net systemd[1]: httpd.service: control process exited, code=exited status=1
May 14 13:04:35 webserverhousingdata.dynu.net systemd[1]: Failed to start Web server Apache.
May 14 13:04:35 webserverhousingdata.dynu.net systemd[1]: Unit httpd.service entered failed state.
May 14 13:04:35 webserverhousingdata.dynu.net systemd[1]: httpd.service failed.
First I'll show you the image of my "system-redirects.conf"


And now I show my setup of /usr/local/apache/conf.d/system-redirects.conf
Code: [Select]
Redirect permanent /myadmin http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/pma
Redirect permanent /MyAdmin http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/pma
Redirect permanent /phpmyadmin http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/pma
Redirect permanent /phpMyAdmin http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/pma
Redirect permanent /kpanel http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/
Redirect permanent /cwp http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2082/
Redirect permanent /isp http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/
Redirect permanent /cpanel http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2082/
Redirect permanent /scwp https://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2083/
Redirect permanent /controlpanel http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2082/
Redirect permanent /securecontrolpanel https://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2083/
Redirect permanent /securewhm https://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2031/
Redirect permanent /whm http://<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 webmaster@centos-webpanel.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>:2030/
I was looking for it, after all I had an option to "restore" -> to default values, and that's what I did.
At the bottom of this section you have this option
Like in image below:


And voila! What is the status of my "httpd" service?
Its working for now:


6
I can build it / Re: Boxbilling Integration
« on: May 14, 2019, 11:16:44 AM »
I recomend you for dont use boxbilling! Its very outdated...

7
Suggestions / Allow user to create domain/SubDomain with SSL
« on: April 03, 2018, 06:12:55 PM »
I wonder if the technology was not given to the user, will it be for security reasons?

Allow user to create domain and SubDomain with SSL, its fundamental...
I am writing here now, that the efforts of the CWP DEVELOPERS have done an excellent job.
With the simple fact of incorporating Lets Encript to free SSL Encryption, and better still is that the administrator can generate XX domains / Subdomains for their clients with SSL certificate that simply works!

8
Suggestions / Re: CWP create index.html when I add a (sub)domain.
« on: April 03, 2018, 05:36:27 PM »
 ::) Its a verry good Sugestion!
Heyy DEVS, ADMINISTRATORS, someone can say whow whe add that!?

 

9
CSF Firewall / Re: How to clear blocked ips?
« on: April 03, 2018, 05:23:31 PM »
You'll have to speak English!

10
Verry thanks for a your HELP!  :o :o ;D ;D

11
Suggestions / Re: CWP Plugin Store
« on: April 03, 2018, 12:21:48 AM »
April of 2018!? Where is the STORE?

12
I can build it / Re: OpenVZ with CWP
« on: April 02, 2018, 04:51:07 PM »
Hello everyone! I see huge potential in this "exprimental-addon" someone could share the Sorce of the files in GuiHub for example we can all work on this tool / technology! it looks like immense technologies never seen before in this panel, since some of the tools were developed by users! Since a lot of work has already been done ... Together we can evolve.
I will be grateful that someone can respond to this topic!
Thanks in advance

14
CentOS-WebPanel GUI / Re: Add new translation/theme to client panel
« on: April 02, 2018, 04:10:25 PM »
How can I add new translation and theme to client panel ??

Yes you can!


/usr/local/cwpsrv/var/services/users/
cwp_lang
cwp_theme

I need to check can I add new language
to change a END USER  its here: /usr/local/cwpsrv/var/services/users/cwp_lang/*    .     You must need to clone a en lenguage and change a folder ith a your lenguage end translate by your Self!
My lang "PT_pt" its here https://github.com/OnlyHardOfficial/Lingua-CWP

/usr/local/cwpsrv/var/services/users/cwp_theme   <---Here its only to change a template of theme! its the same way

Full Configuration to change a language its above!
To try a change on ADMINISTRATION WebPanel try here:/usr/local/cwpsrv/htdocs/resources/admin/modules/language/*

I hope it's useful  ;)

15
Addons / Re: Language Edit
« on: April 02, 2018, 03:50:28 PM »
My link to gitHub Files pt_pt https://github.com/OnlyHardOfficial/Lingua-CWP

Pages: [1] 2