Bug: Need another 'Directory' directive in the apache example code
This is a documentation bug, basically. If the user cuts-and-pastes the example code into the 'httpd.conf' file, usersite.com/twiki/bin/... will work, but usersite.com/twiki/ will not.
Test case
The solution (for me, at least) was to add:
<Directory "/home/httpd/twiki/">
Allow from all
</Directory>
in httpd.conf (which, BTW, was at /etc/httpd/conf/httpd.conf, not just /etc/httpd/httpd.conf )
I'm assuming that I can't just go change the documentation directly as
JoeRandomUser.
Environment
--
LucianSmith - 10 Dec 2003
Follow up
Actually you can just go and change the docs at
TWikiInstallationGuide - however, I'm not sure what you mean by 'work' here, as normally the user specifies a URL including the
bin directory. The
twiki directory is only used for the
index.html file, which is not used in production TWikis. So it would be best to see more discussion here before you change this.
The location of httpd.conf is somewhat distro and version dependent, so that probably doesn't need to change.
BTW you can use
<verbatim> to include code samples that include angle brackets.
--
RichardDonkin - 11 Dec 2003
OK, I've posted a comment to
TWikiInstallationGuide so we can move the conversation there. Can I close this by just deleting the text? Also, thanks for the 'verbatim' tip.
--
LucianSmith - 11 Dec 2003
Actually, the
/home/httpd/twiki/ directory should not be exposed as a URL for security. There are some html files in the TWiki root, but it is only meant to be an aid for the person installing TWiki.
--
PeterThoeny - 12 Dec 2003