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

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Django, LiteSpeed Context / External App Config, and PATH_INFO

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-22-2008, 12:43 AM
danofames danofames is offline
New Member
 
Join Date: Jan 2008
Posts: 2
Default Django, LiteSpeed Context / External App Config, and PATH_INFO

First, I'm just getting started with LiteSpeed and enjoying the experience so far.

I was able to get a Django application running by setting up the External App, and Context for '/' as described in these forums.

When I did so, and tried to access the root of the site, http://mysite.com/, there would be an error similar to the one described in this ticket:
http://code.djangoproject.com/ticket/3414

Looking through the debug information, the PATH_INFO variable was not getting through to Django. One of the fixes on the ticket checks whether or not it is set, and if it's not, sets the an internal path variable to '/'. The error went away after applying that patch.

I have no idea if this is an issue with LiteSpeed or Django, but I was curious if there was a setting in LiteSpeed that may be affecting the lack of PATH_INFO in Python's implementation of FastCGI. Nothing was apparent while poking around, so I'm assuming it's a quirk of the FastCGI libraries or Django's code, but I wanted to see if I could get more information.

Thanks,
dc
Reply With Quote
 

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 01:13 PM.



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