Web Hosting Talk







View Full Version : anyone had experience with the addvsite script???


the_tick
05-18-2001, 07:37 AM
Hi all,

I am tring to automate the proccess of adding vsites and have found some scritps on my RAQ4i(rackshack.net). These scripts are: addvsite, adduser, suspend, unsuspend, delvsite and deluser. Most raq4i should have em.

Now, I can add users easily with these scripts but if i look at the users from the coblalt control panel(site management page) i cannot access their site settings(usually done by clicking 'manage www.domain.com' button next to the site) it just says no page found... the url at that time is http://domain.com:81/.cobalt/siteManage/www.domain1.com/

The way httpd.conf works(from what i understand) on a cobalt is it reads the file twice. First time is normal and the second time is to configure the cpanel setup stuff for when you type /personal or /siteadmin, what it does on the second time is reads httpd.conf for the virtual host directives and uses that infomation to setup the cpanels.

Now i think the problem is in the formating of the virtual host directives when you run the addvsite script. So when the script gets re-read the cpanel config stuff will be skipped because the virtual host directive are different to the default layout.

Hope this makes sence, and lots of replies:D

RaQ Host
05-18-2001, 10:00 PM
I have been using the cobalt shell tools together to create / modify a signup script for RaQ servers and I have had no trouble with the shell tools.

There may be something malfunctioning with your server, ask the support @ rackshack if you can have the script which will rebuilding your siteadmin pages.

this usually happens when your server is under extreme load. is this the case???