Cross domain requires stopped after EA4 upgrade :(

Headache

Registered
Nov 19, 2019
2
0
1
UK
cPanel Access Level
Root Administrator
Hi Guys,

New here. I'll introduce myself properly in the lounge later but I'm in a real need of urgent help/advice please.

All my sites are down since my ISP performed the EA4 upgrade today.

The reason.... there are two issues and they seem to be because EA4 is not letting domains on my server access (read) data from a specific other domain on the same server.

All was well for 10 years and more.
So,

1. One script contains the login data for my MySQL DB located on, say, domain 1 and all other domains require that file and read it's contents and then connect to the db.
2. I use a mask.pl file for displaying images. That script builds a filepath and calls in the image from domain 1. The images are stored in a set of directories on domain 1 - a central cms system.

Advice from ISP is to duplicate that Db login file and place it in every website's own file structure. :rolleyes:
And even if I did that, my sites won't be able to call in the images and I'd be in a mess when I may change a db password!

Can anyone make a recommendation as to what configuration changes need to be made in whm or cPanel so any domain on this server or in a series of specific ip addresses can read from domain 1

I'd appreciate any advice because currently my sites are down and I can't get a response from the ISP.

Headache.
 

Headache

Registered
Nov 19, 2019
2
0
1
UK
cPanel Access Level
Root Administrator
On reading up on security I discovered a setting in WHM -> tweak settings -> security -> enable file protect. Switching that off enables my scripts to work as before. However, I don't want to open up any security issues so, will setting that to 'off' open up the server to bad stuff?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston