r4 - 12 Dec 2003 - 06:18:20 - PeterThoenyYou are here: TWiki >  Codev Web > ApacheExampleCode
Tags:
, create new tag

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 | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo