I have a rather strange issue.
Images from the KCFinder are throwing a 403 in two different scenarios.
I’m running the latest version of PHPlist with PHP7.4 on Ubuntu 24.04 with Virtualmin hosting 6 virtual servers.
This all started after I updated the CKEditor plugin in the PHPList dashboard.
When adding an image to a campaign, I can upload the image or browse the server with no problem.
However, when I choose an image for the campaign, I get a red X and the image is not added.
The images are publicly visible in any browser via the file path.
However, as you can see below, the image will embed here with or without the
My custom subscribe page only shows images when typing the
www. prefix in the URL like so
Without the prefix,
https://azbackroads.com/lists/?p=subscribe&id=2, the images give a 403 error.
Here is one of the browser errors for the subscribe page:
If you visit the subscribe page with the
www. prefix in your browser first, the images will then appear on the subscribe page without the prefix. Strange.
What I have done.
- I have checked the file permissions and everything seems good.
- I have checked
htaccessfile and everything looks good.
- I have edited the config file for KCfinder to not check for htaccess and nothing changed. So I switched it back.
I assume this involves redirecting the
/lists directory to the
My DNS redirect is set up to forward my domain to the
www. prefix so I’m not sure why this is happening.
Thanks in advance @duncanc