Sean Davis wrote:
> I have an application that I am trying to filter through an apache
> reverse proxy.  That seems to be working, but paster setup-app fails
> with:
> 
> The section 'main' is not the application (probably a filter).  You
> should add #section_name, where section_name is the section that
> configures your application

Hmm... this looks like it's probably a bug in PasteDeploy and/or 
PasteScript.  As a workaround, if you use:

[app:solexa]
use = egg:SolexaDB

[filter:prefix]
use = egg:Paste#prefix

[pipeline:main]
pipeline = prefix solexa

Then setup development.ini#solexa it'll work.

> I am using 0.9.6.2 and the configuration sections look like:
> 
> [app:main]
> use = egg:SolexaDB
> ....
> # set up to allow proxying via apache
> filter-with=proxy-prefix
> 
> # Note that the prefix should be set to the path used
> # in the apache proxy configuration
> [filter:proxy-prefix]
> use = egg:PasteDeploy#prefix
> prefix = /pressa
> 
> Any ideas?
> 
> Thanks,
> Sean
> > 


-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

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