Thanks Tim,
The custom error pages do work, if I go to an invalid url, I get my custom error pages. The issue is with redirecting from PHP. On the old server I only had to call "header('HTTP/1.0 404 Not Found');" and Apache would redirect to the custom error page, but on the new server, it...
Hi, I am setting up a new server, its similar to my old server, except the OS (CentOS7 v Ubuntu24.04), they are both running Apache 2.4.58 and PHP 8.27.
I'm using nginx on both servers and I have custom error pages.
This works as expected on the new server in displaying my errorpage for a 404...
Hi, is there a way to get the date ModSecurity was installed/enabled?
I see the log files, but it looks like there is only a week's worth and I installed/enabled it before then.
It wasn't installed on my Plesk installation, so I installed and activated the same date..perhaps I can determine...
Thanks Peter,
I was going to do this originally but what stopped me was the statement that all changes would be lost with the optimisation on, so I assumed Plesk was varying the JIT parameters to perhaps tune performance.
From the explanation above, this is not the case.
I'll do what has been...
Peter,
I don't understand why, but I checked this morning and it's all working. The placeholder message did say to wait 24 hours, but I thought I had overridden this by running the "statistics --calculate-all". I don't understand why it would start working now when the site has been live for 3...
Showing my ignorance here but I don't know if I'm running this or not, there are no getenforce or setstatus commands available, so I assume not.
Returned nothing.
AWSTATS_ETC_D /etc/awstats - contains 2 .conf files
AWSTATS_BIN_D /usr/lib/cgi-bin - contains 1 file : awstats.pl
AWSTATS_TOOLS_D...
That's where I originally had them. But I couldn't switch on the booster "Optimize PHP settings" (JIT compiler) because that's were Plesk put's its directives, so had to move them into the php.ini.
Plesk then put the JIT compilation settings into the "additional PHP directives", this is what is...
Hi,
I have a VPS that has been live for 3 months, but I cannot get AWStats to work.
I simply get the placeholder message, here's what I have tried:
Confirmed it's set in Hosting Setttings.
Tried changing to Webalizer (which works) and then back again to AWStats.
Tried forcing stats update...
I've recently switched on all available performance boosters in Plesk, namely:
Speed up web server static file
Speed up web server compression
Optimize PHP (enabled Jit)
My disable_functions setting in my php.ini is now being overwritten.
What I have in the php.ini (exec, shell_exec) is...
Hi, I was recently hacked and looking for some help.
I allow users to upload images to my site and use a JS plugin that calls a PHP script to upload the image. I stupidly didn't filter the types of files that could be uploaded, so someone uploaded and then ran a php file that accepted input and...
Hi, after wrestling for nearly 2 years with the pagespeed mod, I've decided to uninstall it, but not sure how?
1) I've disabled it using the conf file (ModPagespeed of)
2) I've tried switching off the apache module by unticking but going back to this screen it is ticked again?
I've seen some...