[Xitami] Re:Subdomains
R O
rolinger1 at hotmail.com
Tue Jan 3 21:08:50 CET 2006
yup, you can automate it with cgi or php. The process can be pretty
extensive, but ultimately you need to create a forms for the user to fill
out basic info about the subdomain and then when the form is submitted the
cgi/php would need to automate all the background scripts to create the
subdomain. the scripts would create the directories, all the necessary the
subdomain .cfg files, add a subdomain line to the defaults.cgf file that
points/aliases the new subdomian to the appropriate subdomain.cfg files.
Then after all that is done your cgi/php script would need to reload/restart
the Xitami service to load the new defaults.cfg file into memory (without a
service reload the new subdomain would remain unaccessable).
Whats the purpose of creating a blank subdomain though? Even if you
automate the subdomain creation process is your client going to develop the
subdomain website? If you are creating the subdomain website then it would
take you two minutes to be able to create the subdomain via dns and xitami.
If your client can manage to create their own subdomain website then they
should be able to manage the xitami server too.
Then again, if your client wants to create subdomains for the purpose of
allowing users to create their own websites then you will need to write a
very extensive system that tracks users, interfaces with Xitami subdomains,
deals with subdomain administrators, etc etc etc....and there are premade
packages out there that already do this and do them well.
-R
Russel P. Olinger
(310) 466-3399
rolinger1 at hotmail.com
>From: "Michael Gibbons" <MGibbons at UxbridgeCollege.ac.uk>
>Reply-To: Xitami Users General Discussion <xitami at lists.xitami.org>
>To: <xitami at lists.xitami.org>
>Subject: Re: [Xitami] Re:Subdomains
>Date: Tue, 03 Jan 2006 19:29:26 +0000
>
>Hi
>Thanks for such a speedy responce, i don't want to sound dumb, but can i
>have that in english again, the dns is ok i think thats configured and
>works ok because don't laugh "i can ping ip address or name" now i'm lost,
>is there any chance you can send me a llist of instructions i'm good at
>following instructions, i know a fair bit about xitami and should be able
>to do most things once pointed into the right direction.
>
>Regards
>michael
>
> >>> francis.turner at gmail.com 01/03/06 03:44pm >>>
>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.
>
>
>--
>Xitami Users Mailing List -- For Xitami support
>To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
>Email has been scanned for viruses by Altman Technologies' email management
>service - www.altman.co.uk/emailsystems
>
>
>
>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
More information about the Xitami
mailing list