Tags:
archive_me1Add my vote for this tag create new tag
, view all tags

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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux
Web server: Apache something
Perl version: 5.8.0
Client OS:  
Web Browser:  

-- 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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2003-12-12 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.