[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] cgi bb-hostedit script released
Hi Eric,
I found some problems with my bb-hosts-files:
1. If the a line starts with #, it is a comment. The script reports me a
syntax-error
I added the following lines:
---snip---
# Exclude Comments
elsif($item =~ /^#/) {
next;
}
---snap---
2. I included one host on more than one page, so the script reports me
about already definded host.
To get a step forward, I comment out the part in the sctipt.
Now I see the subpages, but no hosts. I can add hosts to the subpage.
I already tried to make a script, that builds the bb-hosts from a
MySQL-Database. I got it never finished, because of all the possible
combinations :(
Thomas