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.


Topics - justcurious

Pages: [1]
1
I'm not sure if this is the official place to report a bug, but here goes . . .

I was running version 0.9.8.671 when I first encountered this error. I've upgraded to 0.9.8.672 and it's still a problem (CWP Pro).

When I select a User to install an SSL certificate, the Domain dropdown remains empty.

It would seem that an apostrophe (') in the word "doesn't" needs to be escaped in the javascript function validatevhostssl. the offending line is:

Code: [Select]
text: 'DNS of your domain doesn't point to this server or you have htaccess restrictions',
A quick fix would be very much appreciated.

Kind regards

2
Informations / Hourly Email Limits
« on: May 23, 2018, 07:04:34 PM »
Can anyone clarify how the package 'Hourly Email Limits' works in practice.

I have written a one-off script for a client that will send out a batch of emails that will slightly exceed the hourly limit. Will the excess emails be delayed and sent later (which would be OK), or do the excess emails get deleted and not sent (not OK)?

I know I could set the script up to send the emails out in two separate batches, but I think it would be useful to know the answer to my question in case a similar scenario comes up in the future.

Any insights would be much appreciated.


3
Informations / Has centos-webpanel.com been hacked ?
« on: May 14, 2018, 11:47:51 AM »
I looked at the Centos Webpanel home page today and it looks like it has been hacked / spoofed. Is this the case ?

Or has the project just been abandoned by the developers? I hope not, because I really like this panel.


4
I note that the Postfix mail log is 'rotated' on an intermittent basis - the file var/log/maillog is renamed to include a date based suffix and a new file var/log/maillog is created, but I want to be able to do this more frequently.

A Google search revealed that
Code: [Select]
# logrotate -f /etc/logrotate.d/syslog will reset the maillog (plus others), but I've found that the maillog is renamed maillog.1 and then deleted.

Does anyone know what script CWP uses to rotate the log ?

5
Updates / Reinstalling CWP Pro after Server Reinstall
« on: January 27, 2018, 03:39:09 PM »
My Centos Server crashed yesterday and I finally got it running again today after having to reinstall everything from scratch.

The IP addresses are the same as before, but CWP has not automatically updated to the Pro version (which I paid for previously). Is it simply a case of waiting for it to self update or do I need to take some action (eg run a bash script / contact support etc) ?

Any advice gratefully received.

Thanks

6
DNS / Best Practise For Multiple IP Addresses ?
« on: November 15, 2017, 03:19:22 PM »
I have a VPS based on Centos 7 with Centos Web Panel. There are 4 IP addresses:

xx.xx.xx2.188
xx.xx.xx3.188
xx.xx.xx4.188
xx.xx.xx4.189

My server is installed on xx2.188 and I have set the shared IP as xx2.188

I have set ns1.server as xx4.188 and ns2.server as xx4.189

I have a number of client accounts set up on the panel spread over xx2.188, xx3.188 and xx4.188

And everything was going well. . .

Until I started messing around with the server and DNS nameserver zones. Having recently recovered access to the websites and email (a whole day wasted !), I wondered if I should change to the following:

  • Leave main server address as xx.xxx.xx2.188
  • Leave Nameservers as they are xx.xxx.xx4.188 / xx4.189
  • Set Shared IP to xx.xxx.xx3.188
  • Put all user accounts on IP address xx.xxx.xx3.188


What is best practise here ?
And what is the relevance of the Shared IP address if I can still access domains that are on other IP Addresses ?

Any enlightenment would be very much appreciated.

Kind regards

JC

7
SSL / SSL Problem with CWP Client (as opposed to Admin)
« on: September 02, 2017, 05:35:37 PM »
I'm using Centos 7.3.1611 with CWPpro 0.9.8.353.

I'm new to SSL Certificates, so please be gentle with me !

  • I've renamed my Hostname and I can access CWP on port 2031 without any problem (https://hostname.domain.com:2031)
  • Used Auto SSL to generate SSL certificate for a few domains (CWP accounts). SSL seems to be working well on the domain websites - The word 'Secure' appears in the browser address bar
  • But when I try to login to the client CWP using port 2031 (https://domain.com:2031), I get NET::ERR_CERT_COMMON_NAME_INVALID

It seems that the system is checking the server hostname certificate rather than the specific domain name certificate.

I've searched in the Apache config file and the Include Conf files for references to port 2031 and not found anything so I'm stuck.

Is there a workaround so that I can access the domain level web panel using SSL (surely if I can access domain.com:2030 then it's possible to enable domain.com:2031) ?

Any pointers in the right direction would be very much appreciated.

8
CentOS-WebPanel GUI / How to Customise CSS in Web Panel
« on: April 20, 2017, 04:37:31 PM »
I have found the file custom.css in /usr/local/cwpsrv/htdocs/admin/design/css/ and when I use vi to edit the file, right at the top, I am invited to:

Quote
/* ------------------Put your custom code here--------------------*/

Except I can't save the file as it is read only.

All I want to do is reduce the size of the orange font in the 'Spark Stats' area.

Are we really not allowed to change the look of CWP or is this an oversight by the development team ?

Is there a 'fix' or 'workaround' ?

9
New Modules / How to read $_POST data in a module
« on: April 12, 2017, 03:05:50 PM »
I am trying to create a module that takes input from the user by way of a form. The form is submitted to the same module (ie index.php?module=mymodule) which then processes the input data.

However, when I try to read the $_POST data, all I get is an empty array - how do I access the $_POSTed data, please ?

Thanks

Pages: [1]