Problem serving media on VPS (RESOLVED)


I’m running a Django 1.7 app on a VPS using Python 2.7. I’m using Pillow and Sorl-Thumbnail to handle image that I upload. For some reason, I can’t get my media files to display in Production. I’ve made sure that Pillow has the jpeg/png/tiff libs, and that seems to be good. However, when I load the page I’m getting 404s for the media images. The path name is correct, but it’s almost as though Passenger or Apache doesn’t see the files? My Media and Static settings are below. Static serves just fine, media not so much. Any help would be appreciated! I’ve been banging my head against this for far too long.

STATIC_ROOT = BASE_DIR + '/public/static/'
STATIC_URL = '/static/'
MEDIA_URL = '/public/media/'
MEDIA_ROOT = BASE_DIR + ‘/public/media/’

EDIT: Woe is me… MEDIA_URL should only be ‘/media/’! Problem fixed!