Thanks for the suggestion, however when adding that to mysite.fcgi or
__init__.py main() has no effect.

I know there has to be a way to make this work, because the django sites I
have built had a way to remove that string from the URL.

On Sun, Aug 21, 2011 at 7:10 AM, cd34 <[email protected]> wrote:

> In wsgi, that url is built from the environment parameter SCRIPT_NAME.
> I haven't used flup, but, I would guess it might be the same. I don't
> believe pyramid uses SCRIPT_NAME, but, paster.resolve prepends it when
> talking with Pyramid.
>
> You might try something like:
>
> SCRIPT_NAME=""
> export SCRIPT_NAME
>
> in your wrapper, or in your constructor:
>
> os.environ['SCRIPT_NAME'] = '';
>
> This is probably not a great thing to do, but, Apache's the rewritten
> url to generate SCRIPT_NAME and PATH_INFO to build the REQUEST_URI,
> and the behavior you want is to remove SCRIPT_NAME when REQUEST_URI is
> passed to the backend.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" 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/pylons-discuss?hl=en.
>
>


-- 
-- 
Regards,
Bruce Wade
http://ca.linkedin.com/in/brucelwade
http://www.wadecybertech.com
http://www.warplydesigned.com
http://www.fitnessfriendsfinder.com

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to