zwetan wrote:
> Hi,
> sometimeago send some questions that are still unanswered

Sorry about that.

> so I reformulate maybe in a better way
> 
> can I use Paste as a connector ?
> 
> ex:
> - a user management app with Django
> - a Trac site

Yes, to a degree.  Trac has pretty good WSGI support, and accepts 
usernames in environ['REMOTE_USER'].  Django doesn't really act as a 
WSGI gateway (AFAIK), so it can't set REMOTE_USER and then pass the 
request onto Trac.  If you don't want to do that, then it should be fine.

> then configure Paste, in such a way
> that at the URL level
> 
> /trac -> trac app
> /admin -> django management app
> 
> are my asumption correct ?

Django I believe has some problems generating URLs if you mount apps at 
arbitrary locations, but that may not be a problem in the admin app 
specifically.  It's mostly a question of whether the app has been 
designed correctly to generate correct links.

> now my real question is
> I can already do that kind of redirection on different app
> at the URL level with Apache,
> with Paste the advantager is to be able to deploy this kind
> of "config" automatically right ?
> 
> for ex,
> 
> if I prepare a paste config
> as
> 
> userBasic
> 
> http://username.domain.com/
> http://username.domain.com/admin
> http://username.domain.com/trac
> 
> 
> I can then from another admin panel
> create "username" and automatically
> deploy this config to the username URL
> am I right ?

Well, there's no admin panel, so I'm not sure if it'll do what you want 
exactly.  You can configure the applications together and run them in 
one process, if that's what you are thinking...

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

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to