[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Cobalt RAQ4 - manage site page is not found (URGENT)
- Subject: Re: [cobalt-users] Cobalt RAQ4 - manage site page is not found (URGENT)
- From: "Silvester v.d. Leer" <cobaltusers@xxxxxxxxx>
- Date: Mon Apr 14 18:48:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hello Gerald
try the following script
Save it as a .pl file
and run perl <filename.pl>
#!/usr/bin/perl
# creates the admin server pages for all domains on a RaQ 3 or RaQ 4
# except for the home site
require Cobalt::Layout;
require Cobalt::Admserv;
require Cobalt::Vsite;
require Cobalt::Meta;
use Cobalt::Product;
foreach my $vhost (Cobalt::Vsite::vsite_list()) {
next unless ($$vhost[1]);
my $fqdn = $$vhost[1];
my ($group) = Cobalt::Meta::query("type" => "vsite",
"keys" => ["name"],
"where" => ["name", "<>", "default",
"and", "fqdn", "=", "$fqdn"]);
# next if($group eq "home");
if($group) {
warn "creating admserver pages for group: $group site name:
$fqdn\n";
Cobalt::Layout::layout_siteManage($group, $fqdn);
Cobalt::Admserv::admserv_set_access(qq[$AdminPages_dir/siteManage/$group],'r
equire', 'group', $group);
unlink("$AdminPages_dir/siteManage/$fqdn") if (-l
"$AdminPages_dir/siteManage/$fqdn");
symlink("$AdminPages_dir/siteManage/$group",
"$AdminPages_dir/siteManage/$fqdn");
} else {
warn "unkown fqdn: $fqdn or group: $group\n";
}
}
----- Original Message -----
From: "Gerald Waugh" <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 15, 2003 3:29 AM
Subject: Re: [cobalt-users] Cobalt RAQ4 - manage site page is not found
(URGENT)
> On Mon, 14 Apr 2003, Gerald Waugh wrote:
>
> > On Tue, 15 Apr 2003, Dominique wrote:
> >
> > > when want manage same site tell us
> > >
> > > The requested URL was not found on this server
> > > URL is: https://www.domain.com:81/.cobalt/siteManage/virtualsite/
> > >
> > > Can samebody help me?
> > >
> > Use the server IP address
> > http:ip.ad.re.ss/admin
> > sounds like your DNS, is not up to speed.
> >
>
> Oops! http://ip.ad.re.ss/admin
>
> Gerald
> --
> http://frontstreetnetworks.com | http://store.raqware.com
> ICQ 229276628 | Phone: +1 203-785-0699 | FAX: +1 866-201-4625
> Front Street Networks LLC, 229 Front Street, Ste. #C,
> New Haven, CT. 06513-3203 United States of America
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>