Re: [Tracker] [tracker-list] network support



On Tue, 2010-05-11 at 22:26 +0400, Dmitry Bashkatov wrote:
Hello!
I'm going to try to add network support for tracker. Realization will
not affect main code base. There will be daemon that sits on server
and talks to tracker-store using dbus, opening network RPC interface.
What do you think about this idea?

Why don't you just make an apache module that converts the results that
you get from DBus to RDFXML? http://www.w3.org/TR/REC-rdf-syntax/

You might have to do a bit of setuid()-ing to get the right session bus
from DBus. Maybe this: http://httpd.apache.org/docs/2.1/suexec.html ?

http://httpd.apache.org/docs/2.1/mod/mod_suexec.html#suexecusergroup

If you do it as an apache module then you'll get all the security
features of Apache for free. Like https, and authentication.

http://httpd.apache.org/docs/2.2/howto/auth.html

Surely you don't want your custom server to implement all that stuff if
Apache has done it all already?

Cheers

Philip


-- 


Philip Van Hoof
freelance software developer
Codeminded BVBA - http://codeminded.be




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