Htaccess file

30 views
Skip to first unread message

nancy moussa

unread,
May 16, 2013, 10:12:53 PM5/16/13
to omek...@googlegroups.com
Hi
I have question regarding the archive file and upload files in Omeka.

In Drupal the folder where people upload file too have a security setup where it will not allow to execute any file in the upload folder. I checked omeka archive folder and I did not see an htaccess file were it will stop the bad files from excuted if it is loaded to the archive folder.

Any thoughts gaven regarding this matter.
Thanks
Nancy


Sent from my iPhone

John Flatness

unread,
May 17, 2013, 3:27:47 PM5/17/13
to omek...@googlegroups.com
Omeka largely relies on filtering by mime type and extension the files
that can be uploaded.

The main Omeka .htaccess does, however, have a carve-out for .php files
anywhere under Omeka, including the archive: they're always rerouted to
the "main" application as if they didn't exist.

You can also use the Storage settings to upload and serve files from a
different directory, and you can simply configure your server to not run
scripts at that location.

-John
Reply all
Reply to author
Forward
0 new messages