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 History Action Size Date Who Comment
Unknown file formatsnip20030204a httpd.conf.snip20030204a r1 manage 2.1 K 2003-02-04 - 17:36 UnknownUser (snip from /etc/httpd/httpd.conf)
Unknown file formatsnip20030204b httpd.conf.snip20030204b r2 r1 manage 2.2 K 2003-02-04 - 21:14 UnknownUser  
Unknown file formatsnip20030204c httpd.conf.snip20030204c r1 manage 2.2 K 2003-02-04 - 21:19 UnknownUser  
Unknown file formatconfoksnip httpd.confOKsnip r1 manage 2.1 K 2003-02-05 - 02:28 UnknownUser  
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2003-02-21 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.