LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » LxCenter » Command-line Management » Problem with addondomain delete
Problem with addondomain delete [message #71628] Sat, 31 October 2009 21:00 Go to next message
Michele is currently offline Michele  Italy
Messages: 76
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]

Report message to a moderator

Re: Problem with addondomain delete [message #71659 is a reply to message #71628] Mon, 02 November 2009 15:59 Go to previous message
Michele is currently offline Michele  Italy
Messages: 76
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:Newbie help on console usage
Next Topic:API - change ownership
Goto Forum:
  


Current Time: Wed Jun 19 03:43:02 EDT 2013

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

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software