| Problem with addondomain delete [message #71628] |
Sat, 31 October 2009 21:00  |
artemedia  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]
|
|
|
|