LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache Directory Indexing and permission? (https://www.linuxquestions.org/questions/linux-newbie-8/apache-directory-indexing-and-permission-763219/)

your_shadow03 10-20-2009 11:20 AM

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?

gilead 10-20-2009 07:04 PM

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.

your_shadow03 10-20-2009 08:17 PM

Thanks for the response.
The Link seems to be not working.
Is there any alternative link?

gilead 10-20-2009 10:30 PM

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


All times are GMT -5. The time now is 10:53 AM.