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

Pages: 1 ... 3 4 [5]
61
Addons / Re: eXtplorer not working
« on: February 20, 2018, 08:54:32 PM »
Thanks!

Dealing with this issue helped me find another issue. First, I learned that I am missing some opencube loaders for some versions of PHP. For whatever reason, they were not downloaded when I compiled and installed multiple PHP versions from within CWP. Secondly, I learned that eXtplorer is not compatible with all versions of PHP. I downloaded opencube loaders and added a .htaccess file to the eXtplorer directory so PHP 5.6 is used for eXtplorer :)

62
Information / Re: Add additional IP addresses to CWP 7
« on: February 20, 2018, 08:46:18 PM »
You would have to either add the ip address as a virtual interface to
/etc/sysconfig/network-scripts/ifcfg-eth0 or 1 depending on what you have and how many physical nice

or make a new ifcfg-ethxxx file and add the config there

have a look at this https://www.garron.me/en/linux/add-secondary-ip-linux.html

Thanks but I don't have a ifcfg-eth0 or ifcfg-eth1. I only have ifcfg-ens192 and ifcfg-lo.

The link you provided is for Ubuntu. It appears the file structure is different.

63
PHP / Re: How to install ioncube loader in PHP on CentOS linux
« on: February 20, 2018, 08:32:20 PM »
The following worked for me:
(http://forum.centos-webpanel.com/centos-webpanel-bugs/bug-on-php-builder/msg14787/#msg14787)
Code: [Select]
yum clean all
rm -rf /var/cache/yum
yum update all -y
That downloaded the missing ioncube loader files. I did not have to add anything to php.ini.


64
PHP / Re: How to install ioncube loader in PHP on CentOS linux
« on: February 19, 2018, 10:22:33 PM »
Ok. I have installed all ioncube versions and modified all php.ini files in opt
Can you please explain the steps you performed to get this working. I ran into the same exact issue in your previous post.

65
Addons / Re: eXtplorer not working
« on: February 19, 2018, 03:31:05 PM »
try http://wiki.centos-webpanel.com/500-internal-server-error
Thanks for the info. I had already tried the "fix permissions" suggestion but I didn't know where the logs were.

This is the error message:
Code: [Select]
[Mon Feb 19 10:23:41.040910 2018] [:error] [pid 4128:tid 140408109655808] [client 192.168.1.11:61425] PHP Parse error:  syntax error, unexpected '[' in /home/test/filemanagers/extplorer/libraries/standalone.php on line 232

Below is line 232:
Code: [Select]
$this->_userstate[$var_name] = $iFilter->sanitize( array($this->_userstate[$var_name]) )[0];

66
Addons / eXtplorer not working
« on: February 19, 2018, 02:15:14 PM »
I get 500 internal server error when I try to access: http://mysite.com/filemanager/

I see the shortcut and the eXtplorer folders have been added to the home directory.

How to fix?

67
Information / Re: Add additional IP addresses to CWP 7
« on: February 18, 2018, 01:18:16 PM »
I'm new to Linux. I am trying to use CWP behind a gateway device which will NAT traffic to CWP. I have entered the same local IP address for Default, NATed and Shared.

I want to add more local IP's so I can have different IP's for each domain. Trying to avoid SNI.

I have the following two files but neither one contains the local IP address (192.168.1.10) I have specified:
  • ifcfg-ens192
  • ifcfg-lo

ifcfg-ens192 does not contain "IPADDR=".
ifcfg-lo contains "IPADDR=127.0.0.1".

Which file contains 192.168.1.10 and where do I add the other IP's I want to use?



68
Installation / Re: CWP behind WAF
« on: January 22, 2018, 02:39:45 PM »
This is my first control panel so all of this is totally alien to me. Can someone please chime in, here? I've already searched the forum but did not find suitable answers.

Are there any issues with using the same local IP address for both the shared and default IP addresses? As I stated earlier, I'm behind a WAF. I want CWP access restricted to the local network but be able to create a NAT, in my gateway device, to give public access only when necessary.

Also, since I will be the only "customer", what do I enter for name servers? Do I just enter the same info I already have listed in DNS for each domain, at the domain name registrars?

69
Installation / Re: How to add 2nd IP
« on: January 22, 2018, 01:11:47 AM »
I like to use IP manager in CWP its super easy to add ip with it.

https://IP:2031/admin/index.php?module=ip_manager

Does not work for me even after server reboot.

70
Installation / Re: CWP behind WAF
« on: January 20, 2018, 02:50:23 PM »
I'm not going to be hosting sites for others so I do not want CWP to be accessible to the public.

Geez... Almost a month and no help  :-[ Will support for the Pro version be the same?

71
Installation / Re: CWP behind WAF
« on: January 01, 2018, 01:02:28 AM »
So I installed CWP and ticked 'Activate NAT-ed network configuration'. I made sure the correct local IP is set. I'm just getting started and encountered an issue right out of the gate.

If I go to view PHP info, I get the following error (x.x.x.x substituted for my public IP address):

Code: [Select]
Warning: file_get_contents(http://x.x.x.x/phpinfo.php): failed to open stream: Connection timed out in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0
I've tried accessing the cp via the following URL's but get the same results:
http://sub.mysite.com:2030
http://192.168.1.2:2030
https://sub.mysite.com:2031
https://192.168.1.2:2031

Why is the public IP address being used to get the PHP info even though I have activated NAT-ed network configuration?

72
Installation / CWP behind WAF
« on: December 28, 2017, 01:14:51 PM »
Can CWP be used if server it is installed on is behind a Web Application Firewall (WAF)? The WAF uses NAT so all IP's to the server are internal. The server is also a VM, not a physical server. I will have 5-8 websites available to the public.

What issues will I encounter? What other info do you need from me in order to answer my questions? I'm new to Linux, coming from Windoz :-\ I have had a WAMP stack set up in this way for many years without issue but I would like to move to Linux. I would like to keep the new Linux server behind the WAF for ease of administration.

Thanks!

Jeff

Pages: 1 ... 3 4 [5]