[Twisted-Python] apache authentication

Gustavo Rahal gustavo at grahal.net
Fri Feb 11 11:56:03 MST 2005


Hi

I'm using apache as proxy to a xmlrpc server. How do I set the client 
xmlrpc to connect to apache using ssl, username and password?

A prototype of my idea:


from twisted.web.xmlrpc import Proxy
from twisted.internet import reactor

proxy = Proxy('https://localhost/RPC2')
""" apache should redirect to 192.168.2.22:7080... how do I send 
username and password? """"

proxy.callRemote('status_mds').addCallbacks(self.buildMDSObject, 
self.printError)
........

Thanks
Gustavo





More information about the Twisted-Python mailing list