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
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
