[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] how to determine the site number from fqdn programmatically
- Subject: RE: [cobalt-users] how to determine the site number from fqdn programmatically
- From: "Jim Carey" <ozbcoz@xxxxxxxxxxxxxxxx>
- Date: Tue Nov 14 02:28:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
thanks for that - appreciated
Jim Carey
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Sales - Way to
> the Web
> Sent: Tuesday, 14 November 2000 6:43 PM
> To: 'cobalt-users@xxxxxxxxxxxxxxx'
> Subject: RE: [cobalt-users] how to determine the site number from fqdn
> programmatically
>
>
> Hello Jim,
>
> > I am creating a site using addvsite with a cgi - works fine. I need to
> > determine the site number that has been assigned to the site by the
> > addvsite command so that I can then adduser assigning them to
> > the correct
> > groupnames. Anyone point me to the right place to look this up ?
>
> Using Perl:
>
> $sitenumber = readlink ("/home/sites/www.mydomain.com");
>
> Regards,
> Jonathan Michaelson
>
> Way to the Web Ltd
> Commercial CGI Scripting, Web Hosting
> http://www.waytotheweb.com
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users