From: Unknown Q. <web...@un...> - 2005-05-31 11:34:05
|
Hi sorry to have taken so long to come back to this problem - i've just been concentrating on getting the basics right :-) could somebody please tell me how i can create a script and where i could get a list of the variables from Regards Martyn ----- Original Message ----- From: "Barry" <we...@i1...> To: <web...@li...> Sent: Wednesday, March 09, 2005 12:52 AM Subject: Re: [webmin-l] Re: Virtualmin customer settings - defaults > Probably the simplest strategy is to use the option to run a command after > the virtualmin operations. That should be a script which copies and sed's > your skeleton file(s) while replacing the variables with the actual > values. > > Best, > > Barry > > Unknown Questions wrote: > >> Hi >> >> i'm using Virtualmin 2.40 (and have used virtualmin for over a year) >> >> i'd like to create a default holding / index page for every new >> virtualmin >> domain that i add to the server >> >> i've created an index.htm page in /etc/skel/public_html >> >> it works OK to a point - it says "this domain has been registered for >> ${DOM} >> please return soon to see our new website" >> >> i would like to find a way of replacing the ${DOM} with the actual name >> of >> the customers domain >> >> so that it will display "this domain has been registered for domain.tld >> please return soon to see our new website" >> >> can anybody point me in the right direction >> >> Regards >> Martyn >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > - > Forwarded by the Webmin mailing list at > web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |