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

Pages: [1]
1
MySQL / any host vs localhost vs ip
« on: May 03, 2021, 06:18:54 AM »
Hi,

When setting user privileges in mysql manager,

am i forced to using any host? when I want my db user to connect from a remote server?

Currently I have localhost set, so my inital website works fine as the db is on the localhost.

I also have an external server which queries my db, so selected "specify ip address" which allows the connection.

Unfortunately this broke the local connection as well.

So i have to use "% Any Host" to get around this.

Can I not specify localhost and also a single ip address?

reason i am concerned is that if the db user pw is comprimised then they can potentially gain access to my db because the user has "% Anyhost" access.

Is there a way to force localhost and single remote IP?

2
Installation / apache + nginx + varnish + php 5.6-FPM
« on: April 30, 2021, 09:36:29 AM »
Hi,

I recently update my server to use apache + nginx + varnish and notice an error when using ajax to call a php script with session_start and notice an error in the domlog:

 [proxy_fcgi:error] [pid 22984:tid 140543510099712] [client 86.18.124.211:34760] AH01071: Got error 'PHP message: PHP Warning:  session_start(): open(tmp/sess_9hmfppek9sb9t4tbv9cpos42l2, O_RDWR) failed: No such file or directory (2)

The file exists, but yet I get this message.  Is there something in nginx I need to configure?

I only get this error when I call the script using $.ajax post to get results back.

3
Installation / mod_security forced page reload - ctrl-f5
« on: April 29, 2021, 12:37:20 PM »
Hi,

i'e recently turned on mod_security for my domain and one issue stands out is if I do a forced page reload using ctrl-f5.

No matter what browser I use, doing a force reload brings up the following messages:

Forbidden

You don't have permission to access / on this server.

however if I just to a normal page load it's fine.

Is there some known setting on mod_security thats blocks this?

4
Backup / remote backups
« on: April 29, 2021, 04:54:36 AM »
I have the remote backups working in that it creates a 2gb backup.tar.gz file on my remote ftp server.

Unfortunately, when i go to open the backup to select something to restore i get "archive is corrupt".

Am I forced to restore with CWP? or is there something catastrophically wrong with the backups where it's generating corrupt compressed backups?


5
Updates / CWP auto updates
« on: April 27, 2021, 03:50:02 PM »
Hi,

is there a way I can disable this?  I would like to manage updates and test them myself.

Thanks

6
Information / CWP pro
« on: April 27, 2021, 03:43:29 PM »
Hi,

i've installed CWP and will be testing over the coming weeks with my production domains.

The server at the moment has a temp IP address. 

If i purchase the pro license will i lose functionality when I change my ip address?

thanks

7
Installation / Latest CWP7 Missing tabs
« on: April 27, 2021, 11:33:37 AM »
Hi,

Is there any reason why I don't have "Apache Settings" and Letsencrypt Manager? on the left menu?  Are they deprecated? or do i need to turn something on?

Reason is i'm following this tutorial: https://www.youtube.com/watch?v=Au0aE5ZqqvU

which helps me setup the hostname and letsencrypt.

8
Installation / autossl installs cert but not for any services
« on: April 27, 2021, 09:36:41 AM »
Hi,

I installed CWP 7 to a server called cwp.domain.com

then i disabled DNS as i manage DNS via godaddy.

I setup the namesevers IP addresses and all seems fine.

I then install SSL using autoSSL- this installs fine however I cannot add any service(cpanel, ftp, webmail or mail).

Do I have to have records on DNS for these?  because I have an A record for cpw.domain.com but not cpanel.domain.com

Am i forced to using cpanel.domain.com for my cwp admin?

Pages: [1]