Forum

WebsiteRoot and Windows

Brian Smither
5 February 2016, 02:25
For the Default Website in hiawatha.conf, I have:
WebsiteRoot = G:\SiteName
This works.

When I have:
WebsiteRoot = G:\ (or just G:)
when starting Hiawatha, there is a complaint that this line has a syntax error.

Is there a better syntax?
Hugo Leisink
5 February 2016, 18:24
For security reasons, Hiawatha does not allow a disk's root directory to be the webroot.
Brian Smither
11 February 2016, 00:00
If I missed it, sorry. If it's not mentioned in the manual pages, please accept my suggestion to add the mention of it into every configuration item that is associated with a directory path.

Cheers!
Hugo Leisink
11 February 2016, 07:27
Added it to the manual page for the next release.
This topic has been closed.