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

Pages: 1 ... 3 4 [5] 6 7
61
SSL / Re: SSL depends on Wenserver?
« on: July 24, 2018, 03:22:54 PM »
Thanks for your attention and answer.
Just now I did it.

The problem was the code that I used for htaccess .


I use this now:

# BEGIN WordPress
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>
# END WordPress

62
SSL / Re: SSL depends on Wenserver?
« on: July 24, 2018, 07:19:49 AM »
Thanks for your answer

The main problem is force SSL./

I wanted to use this manual:

https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-

wordpress/


I did not get any result and after adding the codes that he mentioned to the

.httaccess the site does not work but when I vhange the http to https in

"option" part of the database without using any code it behaves differently

on each subdomain.

On one subdomain http forces to https and on the other subdomain it doesnot

happen at the same situation and and setting.

Take a look at these subdomains please:

http://blog.salamzaban.com

http://level.salamzaban.com


Level subdomain goes to https but blog subdomain doesnot go to https automaticly.

Thanks

63
Hello

My server is nginx+Varnish+Apache. If I want to have SSL on my wordpress site do I have to use this code:
 

Code: [Select]

 server {
listen 80;
server_name example.com www.example.com;
return 301 https://plugin.salamzaban.com$request_uri;
}



in .httaccess file?

I do that and get "500 Internal Server Error"

 
Thanks :)


64
Nginx / Wich webserver is the best?
« on: July 23, 2018, 05:31:00 PM »

Hello

For a newbie what's the best web server to use and can set SSL, mitigate DDOS attacks and cluster it with another servers?

Hproxy+Apache
Varnish+Nginx+Apache
or?


Thanks

65
SSL / SSL depends on Wenserver?
« on: July 23, 2018, 04:07:25 PM »
Hello

Thanks for your attention

When we change our webserver we have to change the SSL settings?

I want to have SSL on Wordpress. It's OK with Apache but when I install Apache+Nginx+Varnish it does not work correctly.





 

66
Updates / What does "yum reinstall cwpsrv cwpphp" do?
« on: July 23, 2018, 09:29:02 AM »
Hello

Thanks for your attention
I culdn't enter my CWP panel and used this command:

Code: [Select]
yum reinstall cwpsrv cwpphp
After that the capacity of my hard increased about 2 Gigs.
What does this command do exactly?
When can I use it?
Can it be dangerous?
Why I have about 2 gig files now?


Thanks

67
Thanks for your answer

I have installed CWP and the at the capacity of  /dev/sda1 is 3.7G .
Can I remove it?

68
CSF Firewall / (Unknown) blocked with too many connections
« on: July 21, 2018, 02:56:56 PM »
Hello

Sometimes I recive an email with this subject and my own IPv6 that shows

Connections: 209
Blocked:     Temporary Block for 43200 seconds [CT_LIMIT]


And a long list of Connections like this:


tcp6: 0:0:0:0:My own IPv6 :45334 -> 0:0:0:0:0My own IPv6 :8181 (TIME_WAIT)



What's the reason?

Thanks

69
Hello

In a fresh installation of the CWP I see /dev/sda1 is 3.7G .
Can I remove it safely?


Thanks

70
Mod_Security / Is this a dos attack?
« on: July 20, 2018, 11:31:14 AM »
Hello 

Can you please take a look at this access log?
 
 
They request some pages that doesn't exist on my site at the same time with my own IP (54.36.158.33) and the site get database error.

What's the problem?
How can I prevent it?

Thanks



71
How can I solve this error?

{status:Error,msj:already exists in database}
Response Api . Error

72
I fixed it.  I have to disable both Firewall from the Origin server and Destination server

Thanks to Cyfocus
http://forum.centos-webpanel.com/installation/migration-to-new-server-cwp-to-cwp-account-migration/msg16815/#msg16815

73
SUre
I did that before.
When I test the connection it says: "Connection successfully" too.
Everyting looks OK but I do not get the result. :)

74
How can I do that?
When I test the connection it says: "Connection successfully"

But in the destination "Your Authorized Keys which have access to this server from: /root/.ssh/authorized_keys" is empty.

Thanks

Pages: 1 ... 3 4 [5] 6 7