[ciapug] XML

Barry Von Ahsen ciapug@cialug.org
Tue, 22 Mar 2005 08:53:29 -0600


Dave J. Hala Jr. wrote:
> The query.php script would then query the database for the record, and
> dynamically generate the page formatted in xml.  The only problem with
> this is that I'd need some way to authenticate the user.

a quick search for mod_auth (on Mandrake, others are similar, I'm sure) 
shows:

apache2-mod_auth_external
apache2-mod_auth_kerb
apache2-mod_auth_msfix
apache2-mod_auth_mysql
apache2-mod_auth_nds
apache2-mod_auth_pgsql
apache2-mod_auth_radius
apache2-mod_auth_remote
apache2-mod_auth_sdb
apache2-mod_auth_shadow
apache2-mod_authenticache
apache2-mod_authz_svn
apache2-mod_ldap

We use mod_auth_mysql in a few places, and it seems much slicker than 
just .htaccess (for authentication, at least).  I'll leave the XML foo 
as an exercise for the reader :)

-barry



> I'd also need
> some type of application on the client side that could generate the
> request and process the output. (I'm wondering if I could strip down 
> apache and hack it up to do this)
> 
> Anyone else though of doing this? Building a set of tools to do this
> could be a option.  The only thing I've found so far is XML-RPC 
> 
> http://xmlrpc.usefulinc.com/php.html
> 
> But I haven't quite had a change to play with it.  Also, I'm really
> uncomfortable opening up a server for RPC's....
> 
> 
> Any thoughts anyone?
> 
> 
> 
> 
>