Posts: 21
Threads: 4
Joined: Oct 2013
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
Posts: 3,491
Threads: 106
Joined: Mar 2010
No idea, but if you try to open the image directly:
http://www.lifestyleandmore.it/fineplace...80x150.jpg
you get error 500 - More information about this error may be available in the server error log.
Posts: 21
Threads: 4
Joined: Oct 2013
(2013-11-17, 20:11:53)Carlos Wrote: No idea, but if you try to open the image directly:
http://www.lifestyleandmore.it/fineplace...80x150.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
Posts: 21
Threads: 4
Joined: Oct 2013
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
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
Posts: 3,491
Threads: 106
Joined: Mar 2010
I think that the only .htaccess files that have "Options -Indexes" are those in root and data/uploads
Posts: 21
Threads: 4
Joined: Oct 2013
(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