Carl Topham

Django Apps on MediaTemple and main.fcgi error

I was having had an issue with Django on my mediatemple hosting and the urls being affected by a certain "main.fcgi". It happened a while back, and then again recently so I decided to share the solution I found.

Simply add the following to your settings.py file. Then restart the app and you should be good to go.

    FORCE_SCRIPT_NAME = ''

Category: Web development

Comments

(mt) Sara

Aug. 22, 2011, 12:33 p.m.

Hey, nice post. Thanks for sharing. Do you visit the (mt) User Forums at all? That would be a nice place to share this info as well! http://forums.mediatemple.net

Add A comment