virtual host config not working
Simon Schäfer
simon at gekko.de
Thu Oct 26 16:26:22 UTC 2000
Hello,
I have a few problems getting my readers.conf right with the virtual
host setup I have in mind. I want to have multiple 'virtual' newsservers
like news.foo.com, news.bar.com and so on running under the same copy of
INN on the same server (single, standalone server with no internal or
external feeds). Each server will carry it's own groups - people
connecting to news.bar.com shouldn't see the groups from news.foo.com .
Therefore, my local groups have the form local.foo.[name] and
local.bar.[name] respectively. My current readers.conf looks like this:
---snip---
# default
auth "default" {
hosts: "*"
default: "<default>"
default-domain: "<default>"
}
# 'real' ns news.foo.com
access news.foo.com {
users: "<default>@<default>"
newsgroups: "local.*"
access: "Read Post"
localtime: true
strippath: true
pathhost: news.foo.com
domain: news.foo.com
newsmaster: usenet at foo.com
complaints: usenet at foo.com
organization: "Foo Inc."
}
#virtual ns news.bar.com
access news.bar.com {
users: "<default>@<default>"
newsgroups: "local.bar.*"
access: "Read Post"
localtime: true
strippath: true
virtualhost: true
pathhost: news.bar.com
domain: news.bar.com
newsmaster: usenet at bar.com
complaints: usenet at bar.com
organization: "Bar Inc."
}
---snip---
With this setup, news.bar.com and news.foo.com are both visible, but
they carry the same groups: local.bar.* - local.foo.com is not visible
on news.foo.com. Also, mails don't get posted although my newsreaders
claims that there are x messages.
I had used a separate access domain before, with the same results.
Syslogd is logging everything, but the log files are of 0 size or don't
contain any inn error messages.
Since I am new to INN, I though it wouldn't hurt to read up on the
manuals a bit, but I've read pretty much everything I could find,
played around with the config for hours and finally lost the nerve.
Thanks for help in advance !
Greetings,
Simon Schäfer
More information about the inn-workers
mailing list