Page 1 of 1

Adding Images inside HTML LOs and Introductions

Posted: Fri Oct 19, 2012 1:34 am
by aedwards865
Good evening.

I'm setting up some courses and have run into a problem I've not seen before and I want to see if anyone can offer any help. I am using version 4.0.5 for this installation. I am trying to add an image to an HTML page or Introduction using the WYSISYG but after I try to upload the image it doesn't display. I checked the server and the files are there, they uploaded ok, but they show an ''x" when I try to view them. When I click on the image to try to pull up a full size image I get the following error:

Forbidden
You don't have permission to access /files/common/users/11837_17_1350602013_Logo.jpg on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have included screenshots to try to help out. Also when I try to insert te image anyway, I get an 'x' placeholder in the page when I try to view it. Any help is greatly appreciated.

Re: Adding Images inside HTML LOs and Introductions

Posted: Fri Oct 19, 2012 7:48 am
by max
Have you checked in
Administration>main>settings>settings>advanced if the first 3 items are flagged?

Re: Adding Images inside HTML LOs and Introductions

Posted: Fri Oct 19, 2012 1:56 pm
by aedwards865
I just checked and they are. For this installation, I'm using a hosted server. Might it be related to a server configuration? If it could be, what would I check with my hosting company about?

Re: Adding Images inside HTML LOs and Introductions

Posted: Mon Oct 22, 2012 9:43 pm
by aedwards865
Found a fix. It may not be the correct fix, but it did take care of the issue. The .htaccess file for the users folder was a 'deny from all' which made all of the files forbidden. I renamed the .htaccess files for testing and that took care of the issue.

I'm concerned slightly though that this may open some potential security risk. What else does docebo store at this path? Is there anything that a malicious user might have access to that they shouldn't?

Re: Adding Images inside HTML LOs and Introductions

Posted: Sat Oct 27, 2012 9:38 am
by alberto
usually the files and user folders are not so critical for security, but of course it would be much better if your server supported the .htaccess files management ;)