So I have Debian wi6th Apache2 on a VM in virtualbox. The browser works. I installed Moodle. the site is up and running. no issues except the old icons and images not showing up. VM is on my local machine so i am not concerned about security here. internal access.
I tried the http->useslasharguments both on and off. to be sure i cleared caches each time. the files exist. all permissions are 777 at this point. I can access the image when using a direct url to the image but when going through image.php i get 200 OK in chrome developer tools. Debugging on developer mode shows no errors at all.
I the vhost config i tried AcceptPathInfo and AllowEncodedSlashes. I also tried cgi.fix_pathinfo = 1 and 0. restarted the apache server both times.
Currently the config for the host is....
DocumentRoot /home/moodle2/moodle
ServerName moodle
<Directory /home/moodle2/moodle>
allow from all
Options +Indexes
</Directory>
When i open the image.php image link (show image in new tab) i just get a brokenimage and 200 OK. I've spent 4 hours looking through the forums and trying different configs. I altered ownership wo www-data and back to root with 777 as the permissions all the while. It really is jsut the images. DB works fine. I am at a loss. Any help would be appreciated.