Forum Search:
HyperVM & Kloxo Support

Home » LxCenter Knowledge Base » CommandLine KB » Problem with addondomain delete
Problem with addondomain delete [message #71628] Sat, 31 October 2009 21:00 Go to next message
artemedia  is currently offline artemedia  Italy
Messages: 69
Registered: May 2008
Location: Italy
Valuable Member
Hi, I'm having some trouble with API while trying to delete a pointer domain

Here is the action I use: action=delete&parent-class=domain&parent-name=master domain.ext&class=addondomain&name=domain.ext

"masterdomain.ext" is the domain where "domain.ext" is redirecting

The problem is that the /etc/lighttpd/conf/kloxo/lighttp.masterdomain.ext configuration file however contains the "domain.ext" info and kloxo don't delete them

$HTTP["host"] =~ " ^(www.masterdomain.ext|masterdomain.ext|domain.ext|www.domai n.ext) " {
......
$HTTP["host"] =~ "^(www.)?domain.ext" {
url.redirect = ( "/" => "http://masterdomain.ext/")
}

And when I add "domain.ext" (always with api) as pointer domain to another domain, lighttpd stops and give this error

Starting lighttpd: Duplicate config variable in conditional 81 global/HTTPhost=~
2009-11-01 01:27:52: (configfile.c.858) source: /etc/lighttpd/conf/kloxo/lighttp.
^(www.)?domain.ext: url.redirect

To solve this I have to manually clear the "domain.ext" info in the lighttp.masterdomain.ext conf file and start lighttpd

Someone know how to solve this? Am I doing something wrong way?

Best regards

[Updated on: Sat, 31 October 2009 21:03]

Re: Problem with addondomain delete [message #71659 is a reply to message #71628] Mon, 02 November 2009 15:59 Go to previous message
artemedia  is currently offline artemedia  Italy
Messages: 69
Registered: May 2008
Location: Italy
Valuable Member
I think this is a bug
When deleting a redirect domain from kloxo, kloxo don't delete the domain info from the lighttp.domain.ext conf file
Same thing if deleting via API

Previous Topic:I put the official web site translated into Chinese
Next Topic:API - change ownership
Goto Forum:
  


Current Time: Fri Sep 3 06:56:37 EDT 2010

Total time taken to generate the page: 0.01830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2009 FUDforum Bulletin Board Software