[Xitami] Re:Subdomains
Francis Turner
francis.turner at gmail.com
Tue Jan 3 16:44:09 CET 2006
Assuming that you have the appropriate wildcard CNAME in the DNS for
your domain so that all addresses point to the same place then this
should be as simple as writing a (perl) script to copy a blank virtual
host directory to the one for the name and edit defaults.cfg to add
the new vhost.
In other words it should be trivial with the hardest bit being
controlling who is allowed to create the subdomain and to ensure that
only valid and sensible names are used (at least I assume your client
would prefer it if obscene subdomains were not allowed for example)
Francis
On 1/3/06, Michael Gibbons <MGibbons at uxbridgecollege.ac.uk> wrote:
> Hi All
>
> Seasons greetings to all!!!
>
>
> Can anyone help, i've develop a simple website for a client, she now wishes to offer subdomains on her site, http://www.localklicks.co.uk is there a way i can automate this so that it does not require any user interaction on the part of my client.
>
> Thanks in advance
>
> Michael
>
>
>
> The information or opinions in this message (including
> any attachments) are those of the author and are not
> necessarily those of Uxbridge College, which disclaims
> responsibility for loss or damage arising from its use to
> the maximum extent permitted by law. E-mail messages
> sometimes go astray. This message is sent in
> confidence for the addressee only. It may contain
> confidential or sensitive information. The contents
> are not to be disclosed to anyone other than the
> addressee. Unauthorised recipients are requested to
> preserve this confidentiality and to advise the originator.
> immediately and to delete the message without copying,
> altering or disclosing its contents. E-mails to or from
> Uxbridge College may be monitored by the College in
> accordance with its current policy.
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
--
http://www.di2.nu/blog.htm
Faber's Fourth Law:
Necessity is the mother of strange bedfellows.
More information about the Xitami
mailing list