Hi Daniel, Daniel Dehennin wrote: > Hello, > > Reading wpkg.js I saw how logFilePattern is expanded and I think this > treatment can be applied to more variables. > > For example: > - wpkg_base = http://www.mydomaine.tld/wpkg/ > - web_packages_file_name = packages/[HOSTNAME].xml > - web_profiles_file_name = profiles/[HOSTNAME].xml > - web_hosts_file_name = hosts/[HOSTNAME].xml > > So, instead of loading maybe "huge" XML files, the web service can > restrict them for the host only. > > This may avoid the use of profiles and hosts files if the web service > handle the profiles management and packages dependencies and hide them > to the client. > > So http://www.mydomaine.tld/wpkg/[HOSTNAME].xml can be just ready to > be used.
Yes, such patterns are on my list of features already. Thanks for your diff file. However in general I think a web service could probably already "filter" the provided XML file by information provided in HTTP header (client information) like IP-address. However it's still a nice feature. thanks, Rainer ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/wpkg-users
