Question 1
Why does Directory Directive
Allow from all seem to
deny access, while
Deny from all seems to
allow access?
Might my file permissions for those directories be causing this strangness?
My system details:
- TWiki version: TWiki20030201
- Perl version: v5.8.0 built for i586-linux-thread-multi
- Web server & version: Apache/1.3.26 Server at teflchina.org Port 80
- Server OS: SuSE Linux 8.1
- Web browser & version: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020903
- Client OS: SuSE Linux 8.1
Answer
I'm not entirely sure, but I think the odd behavior might be because of the lack of an Order directive. The Order directive specifies which order the Allow and Deny directives are processed in. For example, say you place
both Allow from all and
Deny from all in a Directory setting. Then, if you have
Order deny,allow, the allow takes precedence and everyone has access. If you have
Order allow,deny, then the deny takes precedence and nobody does.
Now, your directories inherit permissions from other places, so unless you specify all three (allow, deny, and order), odd things can happen.
--
WalterMundt - 04 Feb 2003
Refactored to: TEFLChinaTwikiInstallNote (problems and solutions: installing Twiki on TEFLChina.org)
--
RogerChrisman - 21 Feb 2003