image upload

stefanw_w - July 4, 2009 - 20:23

Hello,

when I us an upload module (image upload or FCupload, the image will not appears. The famous red cross is visible.
It has to do with the htaccess file but what should I change to keep the site safe and the image showed on the page?

gr stefan

To where did you upload the

briansea - July 6, 2009 - 02:41

To where did you upload the image and what url are you trying to access it?

--Brian Seagraves--
http://brianseagraves.com

first to

stefanw_w - July 6, 2009 - 10:30

first to /files/default/images
later i change it to an new /image_upload diractory.
Drupal maded automaticly a .htaccess file for that directory.

When i place a # before de options inside the htaccess, then problem if over.
Dud is ti still save then?

> Dud is ti still save

-Anti- - July 6, 2009 - 10:53

> Dud is ti still save then?

Good question. I've no idea if it is safe to comment out the htaccess.
I have mine commented out, just so that the /files directory actually works.

Here is the security page for that patch:
http://drupal.org/node/65409

The security patch was in response to a common, insecure apache setup,
but they didn't say WHAT apache setting was insecure, or what to do if
the patch breaks your file system.

maybe i can ask mij hosting

stefanw_w - July 6, 2009 - 10:57

maybe i can ask mij hosting provider for a good htac file.
I now to les about it, to write ome my self.

and lets hope there is someone whit a solution.
I let you now.

they send me this:

stefanw_w - July 6, 2009 - 15:54

Note:
1. After installation, customer needs to add # in front of the two
following sentences in.htaccess:

# Options -Indexes
# Options +FollowSymLinks

 
 

Drupal is a registered trademark of Dries Buytaert.