ianpriceuk
Junior Member
Posts: 5
Joined: Jan 2012
|
Internal Server Error when browsing to url of uploaded images
Hi
I have uploaded an image to the uploads folder via the user interface.
When I access the image via the URl it says within the GUI i get "Internal Server Error", and the apache logs gives me these lines about the time it happened.
"...client denied by server..."
"...data/uploads/.htaccess: Options not allowed here..."
The healthcheck shows all is okay, but I am ver new to apache, php and so am looking for any help I can get.
Cheers
Ian
|
|
|
|
ianpriceuk
Junior Member
Posts: 5
Joined: Jan 2012
|
Internal Server Error when browsing to url of uploaded images
After a bit of trial and error, I removed Options -Indexes from the uploads htaccess and it seems to work.
Not sure how my host is setup - and as I said - I am new to PHP and Apache - so please excuse me
|
|
|
|
jkob
Junior Member
Posts: 15
Joined: Oct 2010
|
Internal Server Error when browsing to url of uploaded images
oh thanx, that just saved me a bit of time
|
|
|
|
Connie
Super Moderator
Posts: 2,686
Joined: Feb 2011
|
Internal Server Error when browsing to url of uploaded images
"Options -Indexes" in .htaccess works as it should:
it stops the server to show a list of all files in that directoy (which is the default behaviour when there is no index-file)
as this is a security problem, it is always safe to turn that off by using "Options -Indexes"
you can open all files from within your browser if you know the names
but why do you want to have external access? You can see all files from within the admin area
keep in mind that this is a security feature! It protects your files!
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|