﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
1349	MEDIA_URL and MEDIA_ROOT do not serve the files	lzap@…	Tim Graham	"I use latest stable:

{{{
# Absolute path to the directory that holds media.
# Example: ""/home/media/media.lawrence.com/""
MEDIA_ROOT = '/home/lzap/public_html/nc/media/',

# URL that handles the media served from MEDIA_ROOT.
# Example: ""http://media.lawrence.com""
MEDIA_URL = '/media/'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: ""http://foo.com/media/"", ""/media/"".
ADMIN_MEDIA_PREFIX = '/media_admin/'
}}}

I start the devel server on port 8080 and try to access some files from the media directory. I always get 404. I tried to set the MEDIA_URL either to '/media' or to 'http://localhost:8080/media' but with no luck. Strace commands shows the Python is not trying to access a disc - it simply do not recognize the URL.

I know I should a web server for this, but I do not want to run an Apache for developing. The documentation is brief about this settings. I think this is a bug or something."	Cleanup/optimization	closed	Documentation		Normal	fixed			Accepted	0	0	0	0	0	0
