Advertisement

03.05.2008 at 05:20PM PST, ID: 23218172 | Points: 500
[x]
Attachment Details

Configure Mod_Python fo Django on Apache server

Asked by HangingClowns in Apache Web Server, Python Scripting Language

I should have the latest versions available for Apache and mod_python cause I just put those onto my server about 2 weeks ago. I'm having trouble understanding how to edit the Apache config file for Django. I currently use the code snippet below for my settings in Apache. And this is what the error looks like:

http://67.207.140.149/mysite/

Can someone help me out?

I have started a project in the /home/webmastr/public_html/django called mysite, cause I'm following the tutorial on Djangoproject.org. I did not find their instructions for configuring modpython to be very helpful for me. So, back to subject, within that django folder, is a folder called "mysite" with all of the beginning project python .py files.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
<Location "/mysite/">
	SetHandler python-program
	PythonHandler django.core.handlers.modpython
	SetEnv DJANGO_SETTINGS_MODULE mysite.settings
	PythonDebug On
	PythonPath "['/home/webmastr/public_html/django'] + sys.path"
</Location>
[+][-]03.06.2008 at 03:44AM PST, ID: 21059210

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 08:42AM PST, ID: 21062086

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.06.2008 at 09:47AM PST, ID: 21062845

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.27.2008 at 07:13PM PDT, ID: 21227538

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.28.2008 at 12:32AM PDT, ID: 21228527

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628