﻿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
15598	When STATIC_URL starts with  'http://' an exception is thrown in DEBUG mode	Sergey Grigoriev	Jannis Leidel	"I have set up Apache to serve my static files,
STATIC_ROOT is /var/www/static

STATIC_URL is 'http://localhost/static'

The error is:

ImproperlyConfigured at /booking/page1

URL 'http://localhost/static' not allowed as static prefix

Request Method: 	GET
Request URL: 	http://localhost:8000/booking/page1
Django Version: 	1.3 rc 1
Exception Type: 	ImproperlyConfigured
Exception Value: 	

URL 'http://localhost/static' not allowed as static prefix

Exception Location: 	/usr/local/lib/python2.6/dist-packages/django/conf/urls/static.py in static, line 23
Python Executable: 	/usr/bin/python
Python Version: 	2.6.6
Python Path: 	

['/home/serg/Work/sms/webui',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages/PIL',
 '/usr/lib/python2.6/dist-packages/gst-0.10',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/python2.6/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.6/gtk-2.0']




"		closed	contrib.staticfiles	1.3-rc		fixed	blocker		Unreviewed	1	0	0	0	0	0
