How can I create data with this new tool that is available for all domains? Some things we do in each domain is really shared data. The most ubiquitous of which is a domain root.<br><br>For instance, all but one domain I serve exists in
<br>~/domains<br><br>Therefore in my domtool2 specs for any domain, I would like something like:<br><br>class MyDomains(domTool2.domains):<br> domain_root = $ENV{HOME} + "domains"<br><br>and it would be neat for instances of MyDomain to create directory structures for my new domains. The directory structure in /etc/ is made for me, but I have to create a parallel one in my home directory.
E.g:<br><br>domain = MyDomains("<a href="http://www.faq-attack.com">www.faq-attack.com</a>")<br># create ~/domains/com/faq-attack/www<br># successful execution returns a doc_root path string<br>domain.doc_root =
domain.build_off_domain_root<br>domain.commit() # commit to vhosts.conf and reload apache<br><br>Just brainstormin, dont mind me.<br><br><div><span class="gmail_quote">On 9/7/06, <b class="gmail_sendername"><a href="mailto:rob@hcoop.net">
rob@hcoop.net</a></b> <<a href="mailto:rob@hcoop.net">rob@hcoop.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If it hadn't been for SquirrelMail locking up a second ago you guys would<br>all have a ready-to-be-trashed email from me in your inbox. I had only<br>partially read the wiki page. My main concern was that it wasn't easy
<br>enough to use for the non-programmer types. Anyway, during the server<br>hiccup i read the remainder of the page and saw the web control interface<br>portion.<br><br>So, my new opinion is it looks great!<br><br>-Rob<br>
<br>> I've put up a wiki page describing my ideas for and current<br>> implementation of the successor to domtool:<br>> <a href="http://wiki.hcoop.net/wiki/DomtoolTwo">http://wiki.hcoop.net/wiki/DomtoolTwo</a>
<br>><br>> I think it's almost ready to go now, at the level where the remaining<br>> changes ought to be made in place on our new servers. The design is<br>> radically different from the old Domtool's, so I'd appreciate feedback
<br>> on it.<br>><br>> Capsule summary: Functional programmers rejoice; everyone else cringes<br>> but grows to love this strange new creature. (Or that's the future<br>> capsule summary I'm hoping for. ;-)
<br>><br>> _______________________________________________<br>> HCoop-Discuss mailing list<br>> <a href="mailto:HCoop-Discuss@hcoop.net">HCoop-Discuss@hcoop.net</a><br>> <a href="http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss">
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss</a><br>><br><br><br><br>_______________________________________________<br>HCoop-Discuss mailing list<br><a href="mailto:HCoop-Discuss@hcoop.net">HCoop-Discuss@hcoop.net
</a><br><a href="http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss">http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-discuss</a><br><br></blockquote></div><br>