LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Ok, so how put django to work? I try early info.

Reply
 
Thread Tools Display Modes
  #11  
Old 02-17-2008, 06:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
You should create a FastCGI context for each URL that should be handled by the framework.
Handler should be set to the python external app.

I think you should add "daemonize=false" parameter as well.
Reply With Quote
  #12  
Old 02-18-2008, 01:17 PM
mamcx mamcx is offline
New Member
 
Join Date: Feb 2008
Posts: 7
No understand. I must map ALL the urls? Included the managed by django itself?

I have dozens of that! I'm thinking in use litespeed for a medium size community/social site.
Reply With Quote
  #13  
Old 02-18-2008, 07:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
If you create a context with URI "/", all requests will be forwarded to django. You use a regular expression matching context if you only want to match one URL.

http://www.litespeedtech.com/docs/we...onfig/context/
Reply With Quote
  #14  
Old 12-06-2009, 12:44 PM
triedia09
Guest
 
Posts: n/a
Default Ok so how put django to work I try early info

That looks useful... but I dont understand any of this tbh... maybe you can put it in a webpage for me or something so I can use it?
Reply With Quote
  #15  
Old 12-06-2009, 05:31 PM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,218
there is new wiki page a few days ago regarding Django setting:

Django web framework with ajp-wsgi
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:27 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.