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

Pages: 1 2 [3] 4 5 ... 9
31
Updates / Re: Issues After version: 0.9.8.742 Update
« on: December 08, 2018, 11:21:15 AM »
If you're using WordPress then you have another option. That is to add this to your wp-config.php.

Code: [Select]
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
    $_SERVER['HTTPS']='on';

if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
    $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
}

32
How to / Re: Disable varnish on xenforo 2
« on: December 08, 2018, 10:22:46 AM »
I have on same domain wordpress and /forum is xenforo... so i dont want to disable varnish for wordpress only for subfolder.

i try many things in /etc/varnish/ including in hosts i add

if (req.url ~ "^/\forum/") {
      return (pass);
   }

i try like everything that i find on net but it seems like it doesent apply... i even try to reboot machine after changes...


EDIT:

http://prntscr.com/lrlk2y

try pipe instead of pass
Code: [Select]
if (req.url ~ "^/\forum/") {
return (pipe);
}

33
Updates / Re: CWP 0.9.8.746-My site is down.
« on: December 08, 2018, 10:16:15 AM »
Try reboot

34
Updates / Re: Issues After version: 0.9.8.742 Update
« on: December 08, 2018, 10:13:39 AM »
What u use? Apache ningx varnish or? I had loop problem i solve it setting default WebServer in nginx insted php-fpm. Also rebuild apache, and php to latest version. And remove all configs ( if u have) in domain conf.

I'm using NginX+Varnish+Apache and now + PHP-FPM too. I found the problem. It's when you're using https you get some resources requested from insecure http. That causes the mixed content. I found the solution to it by adding this to my htaccess to force https.
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>
That works for me. But I wish someone can come up with a solution for server end so we don't have to do this every times. I think it can be done through vhost but I don't know how.

35
Other / Re: Server Time on user Dashboard Problem
« on: December 04, 2018, 04:48:07 AM »
Try editing time zone in your php.ini for each php.

36
Apache / Re: 403 Forbidden on all subdomains
« on: December 04, 2018, 04:45:32 AM »
Did you tried "User Accounts > Fix Permissions"?

37
Thank for the idea. I've contacted them just now. Can you also do so too and anyone else? Hopefully they will see it's important. This cause redirect issues and app breaks because of the mixed content.

38
PHP / Re: php.ini configuration per user
« on: December 03, 2018, 07:15:56 PM »
php.ini doesn't work with php-fpm in CWPpro version: 0.9.8.741 and above. You have to change it.

from
Code: [Select]
php.ini
to
Code: [Select]
.user.ini

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

This work great! Is possible to do this through vhost on the server side so we don't have to add this every time?

40
PHP / Re: php.ini configuration per user
« on: December 03, 2018, 07:30:10 AM »
to make this change for wp-admin folder you should add php.ini file in wp-admin folder.

This doesn't work in CWPpro version: 0.9.8.742. Is there another method?

41
Updates / Issues After version: 0.9.8.742 Update
« on: December 02, 2018, 09:45:40 PM »
After the update, I have trouble with WordPress mixed content and break css. Magento just keep on redirecting until browser give up. If I run only Apache then everything work. Anything else will not work. Anyone knows how to fixed this?

42
Information / CWPpro version: 0.9.8.742 vhost templates
« on: December 02, 2018, 06:45:06 PM »
I updated to CWPpro version: 0.9.8.742. I don't seem to see the vhost templates. Can someone please point to me to it?

43
Information / Re: 0.9.8.741 - attention
« on: December 02, 2018, 04:56:43 PM »
After the update, I'm having https and http issues. One site running Magento is getting error from Chrome "The page isn’t redirecting properly". And my Wordpress sites are not getting CSS because for some reason it's put from http and blocked.

I can only run Apache only then it works. Please help.

What happened to the vhost templates? I can't find it.

44
CentOS-WebPanel Bugs / Logout User Control Panel
« on: October 29, 2018, 03:19:35 AM »
I'm on CWPpro version: 0.9.8.740. Anyone else having trouble logging out of the User Control Panel? Not the Admin Panel but the User Panel.

45
CentOS-WebPanel Bugs / Re: AutoSSL Stopped working
« on: October 29, 2018, 03:17:19 AM »
Check this:
http://forum.centos-webpanel.com/ssl/ssl-expire/msg19631/#msg19631

Make sure you don't have any redirect.

Pages: 1 2 [3] 4 5 ... 9