> > And calls to root, for example "http://www.example.com"; were
> > continually
> > redirected
>
> If it's running at the root URL (/), then you can leave off
> SCRIPT_NAME entirely.

Yes, bacause in that case SCRIPT_NAME actually is an empty string.
Probably
  PythonOption SCRIPT_NAME ""
would work

> Also, in the latest Paste (easy_install -U Paste==dev), it now comes
> with a modpython script which can directly load paste INI files.
> Using that will also simplify setup and remove the need for a
> startup.py file. Here's the docs for using the paste version:
> http://pylonshq.com/docs/0.9.2/module-paste.modpython.html

Maybe that page needs to be made a bit clearer on PythonOption
SCRIPT_NAME.

If you use the "SetHandler python-program" in a <Location ..> Apache
directive, Apache itself will corectly set up the SCRIPT_NAME
environment variable. But if you use it in a <Directory> directive
Apache will not how to set SCRIPT_NAME corectly, so you need an
explicit PythonOption.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to