Re: [Demexp-dev] Proxy again..

2007-09-09 Par sujet Diogene Laerce
Hello David

Ive been out all the week and no time to get into it, so sorry for my
late answer.. 

  Regarding the proxy configuration on tuxinette, the proxy file is at the
  root of the CGI directory, with -rwxr-xr-x rights. There are also two
  directories rpc/ and DemexpRpc/ that contain the needed RPC machinery:
 
  But regarding to your answer, I dont have the following files :
 
  // rpc directory :
 
  rpc.py   rpc.x rpc_const.pyc  rpc_pack.pyc  rpc_type.pyc
  rpc.pyc  rpc_const.py  rpc_pack.pyrpc_type.py   rpcsec/
 
  I think that it'd may be the reason.. Can you tell me where they come
  from ? Because pydemexp gave me only those :
 
 They comme from the PyRpc package
 (http://thomas.enix.org/pub/pyrpc/). See the README of PyDemexp for
 details.

I had already installed it but it wasnt mentionned that I had to backup
the directories.. Or maybe it was a so obvious option ?? But for newbie,
nothings obvious.. :)

So anyway, I still miss those files :

// DOSSIER rpc

rpc.pyc base.pyc  sec_auth_gss.pyc  sec_auth_none.pyc  sec_auth_sys.pyc

after 3 times reinstalled all pydemexp, ply and pyrpc (according to the
README file).

 However, I don't thing this is the root of your /current/ issue. If the
 RPC files where missing, you would get an error message, not a dump of
 the python script source code.

Well this sounds wise and logical to me.. 

The scripting test Ive done, Ive done it with a hello world python
file, do you think that can change from a real script or not ? I dont
think so but I may miss some point.

If I cant make it work on my computer, is it possible to ask for an
exemption for the demexp account ? I already ask for one normal account
but Frederic Lebohey answered me about your rules for anonymous, that I
understand for sure. 

But I find a little stupid to get stuck here (for coding work) just cos
I d like to remain anonymous. I dont even want to vote or propose
questions : I just want to code. And for this I need to send testing
requests to the server - In the case I cant work it on my machine, of
course.

So, if the high spheres of demexp could do me a favour : I d
appreciate. ;) Like a temporary account maybe, I dont know.

Let me know.
 Yours,
Diogene



___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Proxy again..

2007-09-09 Par sujet David MENTRE
Hello Diogene,

Diogene Laerce [EMAIL PROTECTED] writes:

 So anyway, I still miss those files :

 // DOSSIER rpc

 rpc.pyc base.pyc  sec_auth_gss.pyc  sec_auth_none.pyc  sec_auth_sys.pyc

 after 3 times reinstalled all pydemexp, ply and pyrpc (according to the
 README file).

I don't understand why those files are missing on your computer. I've
just done a basic installation of those packages, following their
READMEs.

 However, I don't thing this is the root of your /current/ issue. If the
 RPC files where missing, you would get an error message, not a dump of
 the python script source code.

 Well this sounds wise and logical to me.. 

 The scripting test Ive done, Ive done it with a hello world python
 file, do you think that can change from a real script or not ? I dont
 think so but I may miss some point.

A hello world python script would work as long as it behaves like a
CGI script.

But why not use directly the xmlrpc script? Or I might have missed
something.


 If I cant make it work on my computer, is it possible to ask for an
 exemption for the demexp account ? I already ask for one normal account
 but Frederic Lebohey answered me about your rules for anonymous, that I
 understand for sure. 

We can't accept anonymous account on the official server. But there is a
work-around: I have restarted the demo server. You can access it at
machine demo.demexp.org, port 5 (for the demexp client).

The XML-RPC proxy for this server is here:
  http://www.linux-france.org/cgi-bin/demexp-xmlrpc-demo


The root account of this server is:
 login: root
 password: demexp

By login as root, you can create your own account.

Let me know if you have issues.

Yours,
d.
-- 
GPG/PGP key: A3AD7A2A David MENTRE [EMAIL PROTECTED]
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Proxy again..

2007-09-02 Par sujet David MENTRE
Hello Diogene,

Diogene Laerce [EMAIL PROTECTED] writes:

 I put it in my cgi-bin, enabled the rights on it and all the files
 depending on (in fact, all the cgi-bin directory..) but when I call it
 by xml-rpc, I just have the all file text in response ??

The symptoms you describe seem to show a configuration error on your web
server. I've you checked that the CGI functionnality is enabled in your
web server configuration file? It might be disabled by default for
security reasons.

Regarding the proxy configuration on tuxinette, the proxy file is at the
root of the CGI directory, with -rwxr-xr-x rights. There are also two
directories rpc/ and DemexpRpc/ that contain the needed RPC machinery:

[EMAIL PROTECTED]:~/vos-cgi$ ls -R rpc
rpc:
__init__.py   rpc.py   rpc.x rpc_const.pyc  rpc_pack.pyc  rpc_type.pyc
__init__.pyc  rpc.pyc  rpc_const.py  rpc_pack.pyrpc_type.py   rpcsec/

rpc/rpcsec:
__init__.py   base.py   gss.x   sec_auth_gss.py   sec_auth_none.py   
sec_auth_sys.py
__init__.pyc  base.pyc  gssapimodule.c  sec_auth_gss.pyc  sec_auth_none.pyc  
sec_auth_sys.pyc
[EMAIL PROTECTED]:~/vos-cgi$ ls -R DemexpRpc/
DemexpRpc:
__init__.py  __init__.pyc  client.py  client.pyc  const.py  const.pyc  pack.py  
pack.pyc  types.py  types.pyc


Hope it helps,
Yours,
d.
-- 
GPG/PGP key: A3AD7A2A David MENTRE [EMAIL PROTECTED]
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Proxy again..

2007-09-02 Par sujet Diogene Laerce
Hi'n so..

 The symptoms you describe seem to show a configuration error on your web
 server. I've you checked that the CGI functionnality is enabled in your
 web server configuration file? It might be disabled by default for
 security reasons.

I did a test with another py script, it worked.

 Regarding the proxy configuration on tuxinette, the proxy file is at the
 root of the CGI directory, with -rwxr-xr-x rights. There are also two
 directories rpc/ and DemexpRpc/ that contain the needed RPC machinery:

But regarding to your answer, I dont have the following files :

// rpc directory :

rpc.py   rpc.x rpc_const.pyc  rpc_pack.pyc  rpc_type.pyc
rpc.pyc  rpc_const.py  rpc_pack.pyrpc_type.py   rpcsec/

I think that it'd may be the reason.. Can you tell me where they come
from ? Because pydemexp gave me only those :

/demexpRpc/

client.py   client.pyc  const.pyconst.pyc
__init__.py __init__.pycpack.py pack.pyc
types.pytypes.pyc

and on the pydemexp root :

parser.out parsetab.py

Yours,
Diogene



___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Proxy again..

2007-09-02 Par sujet David MENTRE
Diogene Laerce [EMAIL PROTECTED] writes:

 The symptoms you describe seem to show a configuration error on your web
 server. I've you checked that the CGI functionnality is enabled in your
 web server configuration file? It might be disabled by default for
 security reasons.

 I did a test with another py script, it worked.

Ok. So you can execute CGI scripts.

 Regarding the proxy configuration on tuxinette, the proxy file is at the
 root of the CGI directory, with -rwxr-xr-x rights. There are also two
 directories rpc/ and DemexpRpc/ that contain the needed RPC machinery:

 But regarding to your answer, I dont have the following files :

 // rpc directory :

 rpc.py   rpc.x rpc_const.pyc  rpc_pack.pyc  rpc_type.pyc
 rpc.pyc  rpc_const.py  rpc_pack.pyrpc_type.py   rpcsec/

 I think that it'd may be the reason.. Can you tell me where they come
 from ? Because pydemexp gave me only those :

They comme from the PyRpc package
(http://thomas.enix.org/pub/pyrpc/). See the README of PyDemexp for
details.

However, I don't thing this is the root of your /current/ issue. If the
RPC files where missing, you would get an error message, not a dump of
the python script source code.

Yours,
d.
-- 
GPG/PGP key: A3AD7A2A David MENTRE [EMAIL PROTECTED]
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev