GetSimple Support Forum
problem with displaying images - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: problem with displaying images (/showthread.php?tid=5378)



problem with displaying images - vdonatiello - 2013-11-17

Hello,

i have uploaded few images (in the /data/uploads/ folder)

when i edit a page, if i insert the image it doesnot display, if i insert the related thumbnail it does display correctly

below is the automatically generated code:
Code:
<p>try</p>
<p><img alt="" src="http://www.lifestyleandmore.it/fineplaces/data/uploads/free_180x150.jpg" /></p>
<p><img alt="" src="http://www.lifestyleandmore.it/fineplaces/data/thumbs/thumbnail.free_180x150.jpg" style="width: 200px; height: 166px;" /></p>

what do you think? where is my mistake?

thanks


RE: problem with displaying images - Carlos - 2013-11-17

No idea, but if you try to open the image directly:
http://www.lifestyleandmore.it/fineplaces/data/uploads/free_180x150.jpg
you get error 500 - More information about this error may be available in the server error log.


RE: problem with displaying images - vdonatiello - 2013-11-17

(2013-11-17, 20:11:53)Carlos Wrote: No idea, but if you try to open the image directly:
http://www.lifestyleandmore.it/fineplaces/data/uploads/free_180x150.jpg
you get error 500 - More information about this error may be available in the server error log.


here is the Apache webserver error log:

Code:
[Sun Nov 17 12:34:27 2013] [alert] [client 58.41.126.68:49758] - www.lifestyleandmore.it - /web/htdocs/www.lifestyleandmore.it/home/fineplaces/data/uploads/.htaccess: Option Indexes not allowed here

it seems the problem is in the .htaccess file ... here is the content of the .htaccess file within the /data/uploads/ webfolder:

Code:
Options -Indexes
Allow from all

any suggestions?

thanks

Vito


RE: problem with displaying images - vdonatiello - 2013-11-17

according to the Wiki :

Quote:Guidance for Specific Hosting Companies
Aruba
On Linux hosting, for GetSimple to run you have to edit a few .htaccess files.
All the

Code:
Options -Indexes

need to be commented out.

i have done so and it works ... question is there many .htaccess, akmost every webfolder, do i need to check them all one by one???

thanks


RE: problem with displaying images - Carlos - 2013-11-18

I think that the only .htaccess files that have "Options -Indexes" are those in root and data/uploads


RE: problem with displaying images - vdonatiello - 2013-11-18

(2013-11-18, 03:37:12)Carlos Wrote: I think that the only .htaccess files that have "Options -Indexes" are those in root and data/uploads

I should alright then ... I have already fixed these two .htaccess
Thanks