[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] How to Python passerel

From: David MENTRE
Subject: Re: [Demexp-dev] How to Python passerel
Date: Sun, 26 Aug 2007 12:24:49 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hello Diogene,

Diogene Laerce <address@hidden> writes:

>                            ### global parameters that you can modify ###
>                          standalone_host_name = "localhost/"
>                                             standalone_host_port = 50000
> while I started the server like this :
>                      demexp-server --bases mybases.dmxp --debug --listen
>                                             localhost/
> But I dont know what to do with :
>                                   demexp_server_name = ""
>                                              demexp_server_port = 50065 

You swaped the two configuration parameter.

demexp_server_* variables are the location of your demexp server.

If you launch your server with:
 demexp-server --bases mybases.dmxp --debug --listen localhost:50000

Then you should have:

 demexp_server_name = "localhost"
 demexp_server_port = 50000

The standalone_* parameters are used when you launch the proxy in
standalone mode (--standalone command line option), i.e. you don't need
a web server. It gives the name of the interface and port on which the
script should listen. Keep the defaults:

 standalone_host_name = "localhost"
 standalone_host_port = 50001 

Is it clearer now? 

BTW, to make this script work, you'll need the pydemexp package of

GPG/PGP key: A3AD7A2A David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]