you can get rid of this by setting the environ variable "REAL_SCRIPT_NAME"
 to  empty string in your code (#os.environ['REAL_SCRIPT_NAME'] = "")

http://groups.google.com/group/webpy/browse_frm/thread/8a096aa5753895fb/225275023c8f6ff2?#225275023c8f6ff2

or by setting the "REAL_SCRIPT_NAME" value in you webserver config

http://groups.google.com/group/webpy/browse_thread/thread/e784d1f14e4d67d7/80a0d561dc69d589?lnk=gst&q=REAL_SCRIPT_NAME&rnum=2#80a0d561dc69d589

On Sat, Mar 21, 2009 at 6:14 AM, dave <[email protected]> wrote:

>
> I've got a web.py app running under Apache, and am having some issues
> with
>
> I've got my entry point located at /Library/Sites/buh/reports/app.py,
> with my re-write rule funneling all requests to http://buh.com/reports/
> into my application as it should. However, when doing a
>
>    raise web.seeother('/reports/choose/')
>
> ... it gets translated into the following location:
>
>    http://buh.com/reports/app.py/reports/choose/
>
> When I'm expecting to see...
>
>    http://buh.com/reports/choose/
>
> Looking at web.py's source, I saw that seeother accepts an optional
> argument (absolute=False), and modified that to be True but still no
> success. Anyone know what I'm doing wrong? Thanks,
>
> Dave
> >
>


-- 
ashok raavi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to