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 - Netino

Pages: 1 ... 18 19 [20] 21 22 ... 26
286
Apache / Re: Dedicated ip for specific account
« on: January 27, 2019, 06:57:52 PM »
You are asking about execute a script just with a specific IP address..??

Try Firejail.
https://firejail.wordpress.com/

There are others too..

Regards,
Netino

287
CentOS 7 Problems / Re: httpd.conf get erased on rebuild
« on: January 27, 2019, 06:49:19 PM »
You really have some serious problem. The control panel shouldn't left three lines in your httpd.conf.
What version are you using..??

Check your file: /usr/local/apache/conf.d/vhosts.conf

The content must be:
Code: [Select]
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf

Regards,
Netino

288
DNS / Re: Hostname adding 127.0.0.1
« on: January 27, 2019, 06:39:02 PM »
This already happened to me.

I just could solve it changing manually the file '/etc/hostname', and executing:

Code: [Select]
chattr +i /etc/hostname

Regards,
Netino

289
Installation / Re: Not detecting IMAP module
« on: January 27, 2019, 06:34:29 PM »
Php in CWP is compiled.
This extension requires the c-client library to be installed. Grab the latest version from » https://www.washington.edu/imap/ and compile it.

More information:
http://hk2.php.net/imap

Specially:
http://hk2.php.net/manual/en/imap.requirements.php

Regards,
Netino

290
Updates / Re: How to update BIND for EDNS?
« on: January 27, 2019, 06:20:28 PM »
"Bind" or just "dig"..?

To compile dig with EDNS client-subnet support:

https://www.gsic.uva.es/~jnisigl/dig-edns-client-subnet.html

Regards,
Netino

291
The 'named-checkconf' is pointing error.
Execute 'named-checkconf', and check your /var/log/messages file.

Regards,
Netino

292
Put your *complete* error message, please.

293
CentOS-WebPanel Bugs / Re: CWP Roundcube Bug
« on: January 27, 2019, 01:52:49 AM »
I think it's better to upgrade roundcube.
You can use the following HowTos:

https://www.mysterydata.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/

https://panel.bullten.net/knowledgebase/31/Update-Roundcube-in-CWP.html

https://blog.bullten.com/centos-web-panel/upgrading-roundcube-webmail-in-cwp/

Their versions are a bit outdated, but I already use them and works downloading the latest stable version.
Don't forget to backup before.

Regards,
Netino

294
Mod_Security / Re: Changing rules on Comodo WAF with CWP Pro
« on: January 27, 2019, 01:33:59 AM »
Put your customizations in: '/usr/local/apache/modsecurity-cwaf/custom_user.conf'

Like as:
Code: [Select]
  <If "%{REQUEST_URI} =~ m#/webmail/#">
    SecRuleRemoveById 211080
    SecRuleRemoveById 211630
   (...)
  </If>

Regards,
Netino

295
CentOS-WebPanel GUI / Re: Password help
« on: January 18, 2019, 02:50:33 AM »
The command to change the password in shell prompt is:
Code: [Select]
# passwd

However, to you do it with ssh, you will need your password to access/login it.

If you can't get in, you will need to have phisical accesso to your server, and put your server in rescue mode, starting it with a CD/DVD/pen-drive, to you can change your root password.

Regards,
Netino

296
CentOS 6 Problems / Re: Apache is not starting up
« on: January 18, 2019, 02:42:14 AM »
Try to show the last lines of '/usr/local/apache/logs/error_log' file.

Regards,
Netino

297
CentOS 7 Problems / Re: This site can’t provide a secure connection
« on: January 18, 2019, 02:34:37 AM »
Have you already made sure your ssl install is working normally *before* using it on another port like the 2030 .. ??

Regards,
Netino

298
MySQL / Re: upgrade phpmyadmin to 4.8.4
« on: January 18, 2019, 02:31:07 AM »
Never keep an old and/or vulnerable version of pma on the webserver, visible to the web.
Or remove it, or move it to an area not reachable by the web.
Harassing old versions of phpMyAdmin, in searching for flaws/vulnerabilities, is the most common access on the web.

So, I suggest you replace:
Code: [Select]
mv pma pma2018

by:
Code: [Select]
mv pma ~/pma2018

Regards,
Netino

299
Let's begin from the beginning.

Did you already attempt to restart CentOS Web Panel with the "sh /scripts/restart_cwpsrv" command?

Did you already checked in the files '/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php' and '/root/.my.cnf' if your mysql root password are the same..??

Did you already attempt to restart the mariadb/mysql server..?

What is your mariadb/mysql version..?

What is the context? Your server was working normally and suddenly it just stopped working alone ..? What happened..??

Regards,
Netino

300
SSL / Re: Can I have a folder use http even though the domain uses https?
« on: January 17, 2019, 02:26:10 AM »
Yes, is possible.

Check:
https://stackoverflow.com/questions/17638645/force-https-except-for-one-directory

For example, if you are already using the following to redirect:
Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

And you need the directory 'mydir' to get exception ont that redirect, you can change it to use:
Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} !mydir [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

This should be the content of the '.htaccess'  file in your main directory.

Regards,
Netino

Pages: 1 ... 18 19 [20] 21 22 ... 26