Hi,
I'm brand new to CPanel, but not to CentOS linux.
We have a php script that creates an RTF document using database information and uploaded photos.
The script runs fine and collects the database info, but when we open the document, there are no pictures (this has been working fine for years on at least 3 different servers). I've made sure the file and directory permissions are correct (644 files, 755 directories). All images are owned by the same user process that Apache runs with. I can view the picture in question by directly typing the url into my browser.
I've tried a relative path, absolute path, and even made a soft symlink in the script's directory to allow another means of getting to the pictures in question, but still no pictures.
I rsync'd the site to my home linux server and tried the script as a test, and it works as expected.
It's got to be a mod_security issue or something in httpd.conf, but I can't figure it out. Any advice?
cPanel Version 11.38.0 (build 18)
Theme x3
Apache version 2.2.24
PHP version 5.3.25
MySQL version 5.1.69-cll
Architecture x86_64
Operating system linux
I'm brand new to CPanel, but not to CentOS linux.
We have a php script that creates an RTF document using database information and uploaded photos.
The script runs fine and collects the database info, but when we open the document, there are no pictures (this has been working fine for years on at least 3 different servers). I've made sure the file and directory permissions are correct (644 files, 755 directories). All images are owned by the same user process that Apache runs with. I can view the picture in question by directly typing the url into my browser.
I've tried a relative path, absolute path, and even made a soft symlink in the script's directory to allow another means of getting to the pictures in question, but still no pictures.
I rsync'd the site to my home linux server and tried the script as a test, and it works as expected.
It's got to be a mod_security issue or something in httpd.conf, but I can't figure it out. Any advice?
cPanel Version 11.38.0 (build 18)
Theme x3
Apache version 2.2.24
PHP version 5.3.25
MySQL version 5.1.69-cll
Architecture x86_64
Operating system linux