WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Need help getting http interface with Xen 3 working

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Need help getting http interface with Xen 3 working
From: Jerry Gulla <jgulla@xxxxxxxxx>
Date: Wed, 21 Sep 2005 09:44:01 -0400
Delivery-date: Wed, 21 Sep 2005 13:41:45 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gBsjMhpFvYxm1S23qeYQAfkbXO8YniUxNB4F9r1mhweEbKsWmQ0u2lRN1OZ+iEPuG/MQAYq8B7p1gXZE8uVg+pD8YhasYw6xqRLpAcmwFw6WRXfAUgs7MjRn6qk6N7scqna2YbBhvu17fPlrSl7kspeFKLrOgB1H7UBLVYI2vWU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Jerry Gulla <jgulla@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'm trying to get the http interface working w/ Xen 3.0 and am running
into some problems. I know that in 3.0, twisted is no longer being
used for the http front end (using Apache w/ mod_python instead). 
I've read Tom Wilkie's post
(http://lists.xensource.com/archives/html/xen-devel/2005-09/msg00081.html)
on how he's modified things to work under Apache, and it's got me a
bit further, but now I'm stuck. Here's what I've done do far:

I've installed Fedora Core 4, and set up Xen according to the
FedoraXenQuickStart guide (which tracks xen-unstable) at
http://www.fedoraproject.org/wiki/FedoraXenQuickstart . My dom0 kernel
boots nicely, and I can issue commands with the "xm" command.

I have mod_python installed and working for Apache 2 (I've tested it
with a simple program).

I've symlinked /var/www/html to /usr/lib/python2.4/site-packages/xen/sv

I think I have to modify my Apache config to include the something
like the following:

<Directory /var/www/html>
        AddHandler mod_python .py
        PythonHandler ?????
        PythonDebug On
</Directory>

My (obvious) question is how to I properly wire up Apache/mod_python
to the correct file so I can query/change my Xen configuration via
http?

Any help appreciated. Thanks!

Jerry

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>