Tags:
create new tag
, view all tags

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

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatsnip20030204a httpd.conf.snip20030204a manage 2.1 K 2003-02-04 - 17:36 RogerChrisman (snip from /etc/httpd/httpd.conf)
Unknown file formatsnip20030204b httpd.conf.snip20030204b manage 2.2 K 2003-02-04 - 21:14 RogerChrisman  
Unknown file formatsnip20030204c httpd.conf.snip20030204c manage 2.2 K 2003-02-04 - 21:19 RogerChrisman  
Unknown file formatconfOKsnip httpd.confOKsnip manage 2.1 K 2003-02-05 - 02:28 RogerChrisman  
Topic revision: r12 - 2003-02-21 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.