Error setting up Django 1.4 on cPanel Server

44 views
Skip to first unread message

Bestrafung

unread,
Nov 5, 2012, 5:22:02 PM11/5/12
to django...@googlegroups.com
I am slowly working all of this out and the first 3 or 4 times I tried to setup Django on our cPanel server I kept getting the same 403 Forbidden error. I scrapped everything and started from scratch as I wanted to use Python 2.7 instead of 2.5. Now I am receiving completely different errors I've never encountered before. I used the below post on the cpanel forums as a guide, making my own changes as necessary, documenting my full progress along the way. The new error lists in the browser as a 200 error which has me confused as I thought a 200 meant everything was good. I'm re-checking everything for a typo but I really have no idea what's causing this.

http://forums.cpanel.net/f5/django-python-cpanel-71229-p2.html#post439009

setup-progress.txt

Bestrafung

unread,
Nov 6, 2012, 1:10:03 PM11/6/12
to django...@googlegroups.com
I think I've pretty well ruled out python as the issue. It looks to be in the Apache/mod_wsgi setup somewhere. I can start the built-in runserver, "python manage.py runserver 0.0.0.0:8000", and work with it but Apache refuses to work. I've never worked with mod_wsgi or Django before so I'm not sure what's going on yet. For now I'm just using runserver to set everything up while working on the bugs.
Reply all
Reply to author
Forward
0 new messages