22848 Posts in 9653 Topics by 2803 members
General questions about getting started with SilverStripe that don't fit in any of the categories above.
|Go to End|
1 February 2011 at 8:40pm
I notice this bug was reported ages ago (http://silverstripe.org/archive/show/2466), but i'm having the same issue.
When I upload jpeg images, and the extension is in uppercase, the image cannot be viewed (403 Forbidden server error)
Did anyone ever find a fix for this?
If i rename the extension of the uploaded file, it works, so i'm thinking it must be a .htaccess / redirect problem or something - not an upload problem?
1 February 2011 at 8:45pm
Ok, just after I posted this, i took another look at the folder, and noticed another .htaccess file in the 'assets' folder
In here, it gives a list of permissible files - so I just had to add JPG into the list.
Allow from all
JPG files are pretty common, so hopefully this fix can help others!
3 February 2011 at 9:36am
Bless you Jon,
you just saved the day over here.
This really should be rolled in, or handled differently altogether. Maybe automatically lowercasing file extensions extension on upload?
Most of the clients i work for haven't even seen a file extension in their lives.
Thanks a bunch again,
18 February 2011 at 11:48am
31 May 2011 at 4:44am
Thanks for sharing your answer
1 June 2011 at 11:48am
Thanks for sharing.
It would be good if raise a ticket for silverstripe core development team.
Maybe it worthwhile putting the code in their ss package.
|Go to Top|