Hi there,
I've just upgraded to Hiawatha v10 and have run into a bit of a challenge with the new "Directory" config. In v9.15 I had the following:
VirtualHost {
...
WebsiteRoot = /var/www
Alias = /nagios3:/usr/share/nagios3/htdocs
Alias = /nagios3/cgi-bin:/usr/lib/cgi-bin/nagios3
...
}
Directory {
Path = /usr/share/nagios3/htdocs
PasswordFile = basic:/etc/nagios3/htpasswd.users
}
Directory {
Path = /usr/lib/cgi-bin/nagios3
PasswordFile = basic:/etc/nagios3/htpasswd.users
}
However with v10 the "Path" stanza is now relative to the website root, so I'm not sure how to reference directories outside of the root (I tried adding the "Alias" path instead, eg
Path = /nagios3
, but that doesn't seem to work either).
What's the best way to get around this? I could symlink /usr/lib/cgi-bin/nagios3 to /usr/share/nagios3/htdocs, then symlink that directory to /var/www/nagios3 but that doesn't seem like an elegant solution
Thanks in advance!
Cheers,
Andrew