#594: TracError: KeyError: 'SCRIPT_NAME'
---------------------------+-------------------------
  Reporter:  tim           |      Owner:  olemis
      Type:  defect        |     Status:  accepted
  Priority:  critical      |  Milestone:  Release 7
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  wsgi, hooks
---------------------------+-------------------------

Comment (by tim):

 Replying to [comment:1 olemis]:
 > Replying to [ticket:594 tim]:
 > > I'm using uwsgi and nginx to serve pages.  I modified nginx to include
 {{{uwsgi_param SCRIPT_NAME '';}}}
 >
 > You should not be doing so considering the [pep:0333#environ-variables
 purpose of SCRIPT_NAME var].

 After doing a lot of reading...  It seems like SCRIPT_NAME should always
 be an empty string in my case since I'm running bloodhound in the root
 path.  Shouldn't the product url's be part of the PATH_INFO as it's the
 "virtual location" '''within''' the application.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/594#comment:14>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to