LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2009, 12:20 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Apache Directory Indexing and permission?


I have been exploring Apache configuration on my Fresh Fedora 11 Machine.
All I am confused about the Directory Indexing:

I can see Directory Entry at few places:

Code:
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
And Also at,

Code:
<Directory "/var/www/html/pdfs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all

</Directory>
Somewhere I have enabled at:

Code:
<Directory /home/*/public_html>
#    AllowOverride FileInfo AuthConfig Limit
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>
Ohh..Here too:




My Question is regarding the Directory Indexing permission.

What is difference between:

<Directory>
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
</Directory>

And

<Directory>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

I just want to know about Order allow,deny and Order deny,allow?

It would be great if someone can help me with apache docs with Indexing info?

Last edited by your_shadow03; 10-20-2009 at 12:23 PM.
 
Old 10-20-2009, 08:04 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
The Apache site's docs on Allow and Deny explain this better than I can. I found it helped to set up an example scenario for my own site and apply what they're explaining generally.

Last edited by gilead; 10-20-2009 at 11:32 PM. Reason: Fixed bad links
 
Old 10-20-2009, 09:17 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Thanks for the response.
The Link seems to be not working.
Is there any alternative link?
 
Old 10-20-2009, 11:30 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Sorry about that - I should have been paying attention, those links are on a box within the network here. Try these:
http://httpd.apache.org/docs/2.0/mod...ess.html#allow
http://httpd.apache.org/docs/2.0/mod...cess.html#deny
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not disable Directory Indexing on a Slackware 9.1 Apache 1 Webserver... mtlhd Linux - Server 4 09-22-2009 11:13 AM
turning off fancy indexing in apache 2.2 mbergh22 Linux - Server 1 08-05-2008 11:19 PM
Directory Indexing Apache bborisovich Linux - Server 2 03-07-2008 09:16 AM
Apache 2, Virtual Hosts, Indexing Magueta Linux - Software 2 10-28-2004 03:21 PM
Apache Directory Indexing 403 Error 70k51k Linux - Software 0 09-30-2003 12:26 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration