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

Pages: 1 ... 11 12 [13] 14 15 ... 31
182
Whenever you are using [Nginx + Varnish + Apache] or [Nginx + Apache] you need to tell Apache that a SSL request is being served by a proxy server. So use the code below to force SSL .htaccess

Code: [Select]
SetEnvIf X-Forwarded-Proto "https" HTTPS=on
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
  RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IFModule>

183
How to / Upgrade Roundcube in Running Versions of CWP
« on: August 13, 2018, 12:31:49 PM »
Guide to Upgrade Roundcube
Code: [Select]
https://blog.bullten.com/upgrading-roundcube-webmail-in-cwp/

184
CentOS-WebPanel GUI / Re: How To Change Reverse DNS - PTR Record
« on: August 13, 2018, 11:58:37 AM »
No

185
How to / Upgrading phpMyAdmin in Running Versions of CWP
« on: August 13, 2018, 11:57:38 AM »
Below is guide to update phpMyAdmin
Code: [Select]
https://blog.bullten.com/upgrading-phpmyadmin-in-new-version-of-cwp/

186
CentOS-WebPanel GUI / Re: How To Change Reverse DNS - PTR Record
« on: August 13, 2018, 06:30:03 AM »
You need to set that from where you purchased your server.

187
How to / Enable Mod_http2 Support for Apache in CWP
« on: August 13, 2018, 05:40:25 AM »
Below is the tutorial to enable Mod_http2 support in Centos Web Panel
Code: [Select]
https://blog.bullten.com/enable-mod_http2-for-apache-in-cwp/

188
Installation / Re: Problem with nameserver set up, please help
« on: August 12, 2018, 05:47:27 PM »
There is no need to change anything in centos web panel. You are using dns configuration of godaddy itself. So any A name cname text record you want to add should be added in godaddy domain panel itself.

189
Installation / Re: Problem with nameserver set up, please help
« on: August 12, 2018, 05:27:38 PM »
Well like I know in godaddy you can only setup nameservers when you have 2 different IP for NS

If you dont have multiple IP's then you can use their default nameservers and then Add A name record to your domain

Host: @
Points to IP Address : IP_ADDRESS_Server
TTL: Default_Provided_By_them

190
CentOS-WebPanel Bugs / [BUG] Nginx + Apache Force HTTPS (Redirect Loop)
« on: August 12, 2018, 05:05:44 PM »
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

191
CentOS-WebPanel GUI / Re: ports 2082 and 2030 Unable to connect
« on: August 12, 2018, 03:39:29 PM »
try

Code: [Select]
yum reinstall cwpsrv
sh /scripts/cwpsrv_rebuild_user_conf

192
CentOS 6 Problems / Re: 502 Bad Gateway
« on: August 12, 2018, 12:34:58 PM »
The below command will fix issue for you

Code: [Select]
yum install cwp-phpfpm -y
sh /scripts/cwpsrv_rebuild_user_conf

193
Apache / Re: How to check if userdir_module is installed
« on: August 12, 2018, 12:33:16 PM »
There is nothing like userdir.conf file. The above post by administrator was used to show if userdir modules is loaded in your server

If you run teh below command and it shows you "userdir_module (shared)". Then that means it is enabled on your server.

Code: [Select]
[root@cwp7]# httpd -M | grep userdir
userdir_module (shared)



194
PHP / Re: Error with PHP
« on: August 12, 2018, 12:29:06 PM »
What is the path defined here /dir.file.php on line 62

Usually it is /tmp

195
CentOS-WebPanel GUI / Re: ports 2082 and 2030 Unable to connect
« on: August 12, 2018, 12:28:14 PM »
What is output of

Code: [Select]
service cwpsrv status
service cwp-phpfpm status

Pages: 1 ... 11 12 [13] 14 15 ... 31