Jump to content

django and mod_wsgi configuration


null

Recommended Posts

I'm used to deploying Django on mod_python and trying to get up to speed with mod_wsgi.

 

I've set up a local server to test the configuration before uploading. I've started from scratch with the project just to see if I can get it to work.

 

I run into the same problem locally and remotely where it just displays the contents of the .wsgi stub.

 

I can fix this locally with a WSGIScriptAlias in the apache configuration but the mod_rewrite rules seem to show another type of setup?

 

Am I missing something?

 

I have all the permissions set up correctly I believe.

 

0755 - ~/public_html/hello/dispatch.wsgi

0775 - ~/.python_egg_cache

global read for all others

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...