[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/mydomain.org"
> standalone_host_port = 50000
>
> while I started the server like this :
>
> demexp-server --bases mybases.dmxp --debug --listen
> localhost/mydomain.org:50000
>
> But I dont know what to do with :
>
> demexp_server_name = "demo.demexp.org"
> 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
Thomas: http://thomas.enix.org/pub/pydemexp/
Yours,
d.
--
GPG/PGP key: A3AD7A2A David MENTRE <address@hidden>
5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A