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

Pages: [1] 2 3
1
Hello Igor,

Thank you very much for continued reply. You help us much.
  • Changing file permission on that is the solution, thank you, now is fixed. But could you give us best file permission? The default is 770, I changed to 775, is that true? or you have the better one?
  • Updating system software not fix this case, I have tried this.

Thank you vey much Igor, I was very helped. Best luck for you.

Check the owner and permissions for /var/lib/nginx/ and /var/lib/nginx/tmp and change them. Or update the system software (this bug with nginx cache was long time ago)

2
it looks there is no associated error on Mod security.
But I found this on Log Viewer

2020/01/10 12:36:23 [crit] 1223#0: *12033 open() "/var/lib/nginx/tmp/client_body/0000000003" failed (13: Permission denied), client: xxx.xxx.xxx.xxx, server: domain.tld, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", host: "domain.tld", referrer: "https://domain.tld/wp-admin/admin.php?path=plugins%2Fwoocommerce%2Fi18n%2Flanguages%2Fwoocommerce-id_ID.po&bundle=woocommerce%2Fwoocommerce.php&domain=woocommerce&page=loco-plugin&action=file-edit"

Anyone know with this message?

Hi, you can use CWPadmin => Security => Mod Security, and then you can check the log for the rule ID

3
Hello,

Thanks for reply.

I can not see the rule, which rule is corresponding to the Loco Translate's Error.
I have tried to seek date and time, there is no clue.


Hi, you can use CWPadmin => Security => Mod Security, and then you can check the log for the rule ID

4
How to check which rule is on this case?

Have you check error logs? That should give you the rule id.

5
MySQL / Re: Can We Have A Separate Database Server?
« on: December 03, 2019, 05:35:08 AM »
Hi Kyle,

Have you found the solution?

Thank you.

6
I am still waiting what will  happen.
This is my panel picture:

Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        909M     0  909M   0% /dev
tmpfs           919M   64K  919M   1% /dev/shm
tmpfs           919M   99M  821M  11% /run
tmpfs           919M     0  919M   0% /sys/fs/cgroup
/dev/vda1        59G   55G  1.8G  97% /
tmpfs           184M     0  184M   0% /run/user/0
/dev/sda        9.8G   37M  9.2G   1% /mnt/volume_sgp1_01

Curious if volume_sgp1_01 will be added as internal disk / system disk /

I am not a technician.

Proud with CWP !
CWP for everyone.

7
CentOS Configuration / How to add Digital Ocean's Volume as storage on CWP?
« on: November 24, 2019, 11:58:05 PM »
Hi Friends and Brothers,

Anyone using Digital Ocean here?
I am using Droplet 60 GB storage. The storage is almost full, now is 96%.
Can I add volume to increase storage?
And how to do this on CWP? or Is it automatically connected as storage?

Thank you.

8
I have the same issue.
Loco Translate is blocked my Mod Security.
Anyone know how to fix this?

Thank you.

9
Hi Bullten,

1. when I edit htaccess file to redirect ssl
2. website often shows "too many redirect"
3. is this what you mean ?
4. Could you tell us what file I should  edit?

Hello,

If you force https in htaccess when you are using Apache+Nginx as reverse proxy you may end up with redirect loop.

Redirect code .htaccess

Code: [Select]
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Using the above code will end up with redirect loop

Its because Vhost of nginx ssl is not passing correct parameter for proxy_pass

Right now what we have

Code: [Select]
proxy_pass http://xxx.xxx.xxx.xxx:8181;
We need to replace http with https and port 8181 with 8443

Code: [Select]
proxy_pass https://xxx.xxx.xxx.xxx:8443;
Restart Nginx

Code: [Select]
service nginx restart

10
Apache / Re: Apache error after deleted one account
« on: April 02, 2019, 02:50:15 AM »
This is a bug.

This is a solution before bug solved:

Delete config in /usr/local/apache/conf.d/vhosts-ssl.conf

You should delete these:

<VirtualHost XXX.XXX.XXX.XXX:8443>
   ServerName DELETED-DOMAIN.COM
   ServerAlias www.DELETED-DOMAIN.COM
   ServerAdmin webmaster@DELETED-DOMAIN.COM
   DocumentRoot /home/DELETED-ACCOUNT/public_html
   UseCanonicalName Off
   ScriptAlias /cgi-bin/ /home/DELETED-ACCOUNT/public_html/cgi-bin/

   # Custom settings are loaded below this line (if any exist)
   # Include "/usr/local/apache/conf/userdata/DELETED-ACCOUNT/DELETED-DOMAIN.COM/*.conf

   SSLEngine on
   SSLCipherSuite ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
   SSLProtocol All -SSLv2 -SSLv3
   SSLCertificateFile /etc/pki/tls/certs/DELETED-DOMAIN.COM.cert
   SSLCertificateKeyFile /etc/pki/tls/private/DELETED-DOMAIN.COM.key
   SSLCertificateChainFile /etc/pki/tls/certs/DELETED-DOMAIN.COM.bundle
   SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown

   <IfModule mod_userdir.c>
      UserDir disabled
      UserDir enabled DELETED-ACCOUNT
   </IfModule>

   <IfModule mod_suexec.c>
      SuexecUserGroup DELETED-ACCOUNT DELETED-ACCOUNT
   </IfModule>

   <IfModule mod_suphp.c>
      suPHP_UserGroup DELETED-ACCOUNT DELETED-ACCOUNT
      suPHP_ConfigPath /home/DELETED-ACCOUNT
   </IfModule>

   <Directory "/home/DELETED-ACCOUNT/public_html">
      AllowOverride All
   </Directory>

</VirtualHost>

Be careful, you should delete only deleted domain anda account. start from <VirtualHost XXX.XXX.XXX.XXX:8443> and ended in </VirtualHost>. Becareful

11
CentOS-WebPanel Bugs / Re: Deleting user account breaks apache
« on: April 02, 2019, 02:41:13 AM »
Yes.
This is a bug.
Many people post in the forum with different "question" about this bug, the problem is in /usr/local/apache/conf.d/vhosts-ssl.conf, conf still exist when account deleted.
Hoped to be solved in the next update.

Thank you.

Deleting a user account does not delete the user domains from

/usr/local/apache/conf.d/vhosts-ssl.conf

which then prevents the web servers from restarting. Either the webserver should start ignoring this error or the user deletion script must be updated to take care of this.

12
Apache / Re: dict.mysite.com.cert' does not exist or is empty
« on: April 02, 2019, 02:22:15 AM »
Hello,
Thank you very much.
This works.
Thanks again.

I had the same issue. I solved it by removed the deleted domain or subdomain from the /usr/local/apache/conf.d/vhosts-ssl.conf. For some reasons when you delete the subdomain vhosts-ssl.conf doesn't get updated.

13
Apache / Re: Apache error after deleted one account
« on: April 02, 2019, 12:44:06 AM »
I think this is a "bug" that should be solved. I hope CWP team can see this.
Even... now I recreate the account, and not solve the problem. Apache error..

note: CWPPro

14
CentOS-WebPanel Bugs / Re: Error 503 Backend fetch failed
« on: January 17, 2018, 12:52:29 PM »
My PHP version: 5.6.30

Even in apache only gives me the same problem !!!
What version of php do you use?

I can enter the client side, but I realized that CWP does not show the active domain both client side and admin side, also the domain does not take the php.ini data that are set, test done both admin and client side.

15
CentOS-WebPanel GUI / Can Not Log in Client Side
« on: January 17, 2018, 02:46:58 AM »
Hello,

I am unable to log in as client,
  • Client panel is opened
  • When I enter a username and password don't go anywhere, it is stuck here.

Centos 7.

Anybody could help?

Thanks,

Asrofi
Indonesia

Pages: [1] 2 3