Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th July 2007, 20:20
bigger_travis bigger_travis is offline
Junior Member
 
Join Date: Oct 2005
Location: us
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adding a Web Remoting Framework

HI, i have installed the Remoting Framework plug-in successfuly. i'm able to add clients and webs, however, i wanted to know if you can help me with something.

I am using the following from your example to add new sites: (remoting_example/test.php)

Code:
// Adding a Web
$params = array (         'sid'        => $session_id,
                                        'module'         => 'web',
                                        'function'         => 'web_add',
                                        'params'        => array (         kunde_title => 'Kunde6', // reseller_title or reseller_group
                                web_title => 'test7.de',
                                web_host => 'www',
                                web_domain => 'test7.de',
                                web_ip => '192.168.0.110',
                                web_speicher => '100', // MB
                                web_dns => 0,
                                web_userlimit => 5,
                                web_domainlimit => 2,
                                web_shell => 0,
                                web_cgi => 1,
                                web_standard_cgi => 1,
                                web_php => 1,
                                web_php_safe_mode => 1,
                                web_ssi => 1,
                                web_ftp => 1,
                                web_frontpage => 0,
                                web_mysql => 1,
                                web_mysql_anzahl_dbs => 5,
                                web_ssl => 0,
                                web_anonftp => 0,
                                web_anonftplimit => 0,
                                web_wap => 1,
                                web_individual_error_pages => 1
                                ));

$web_id = $soapclient->call('service',$params);
if($err = $soapclient->getError()) die("Error: ".$err);
echo $web_id;
so, for kunde_title i put the value of the reseller. whenever i create a new site, its created under the reseller without any problems. But i would like to know how i can add a web to a client instead of a resellers?

for example, i have a reseller called domainseller, and in domainseller, i have a customer called domainclient, so i want to add a site called mydomain.com to customer domainclient. i know i can do this in the ispconfig admin panel, but how can i do it with Remoting Framework?



thanks
__________________
Free Wallpapers - Wallpaper Website Server. Trying to get my server
Reply With Quote
Sponsored Links
  #2  
Old 13th July 2007, 20:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,666
Thanks: 819
Thanked 5,317 Times in 4,170 Posts
 
Default

Webs are never added to a reseller, thats technically impossible. I guess you craeted a customer with the same title and added it to this customer. Just use the title of a existing or newly created customer.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Remoting Framework gilogo13 Installation/Configuration 6 23rd April 2008 09:18
Remoting Framework mlz General 9 18th January 2007 22:52
get thousands of "Mailsize" mails from own server torusturtle Installation/Configuration 20 24th December 2006 14:51
Creating image with Systemimager cuongtim HOWTO-Related Questions 3 18th November 2006 13:55
Remoting framework -- new website mxc Developers' Forum 3 22nd August 2006 13:40


All times are GMT +2. The time now is 11:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.