apache Indexes question

This is a discussion on apache Indexes question within the Apache Web Server forums, part of the Web Server and Related Forums category; I have the following Directory directive in my httpd.conf file my intent was to disallow directory browsing at the ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-11-2006
merrittr@gmail.com
 
Posts: n/a
Default apache Indexes question

I have the following Directory directive in my httpd.conf file
my intent was to disallow directory browsing at the http root level
but then in certain cases enable it at a sub directory level. can
anyone
spot what I am doing wrong?


<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
..
..
..

<Directory "/news/httpd/htdocs">
#RobM remove Indexes Options Indexes FollowSymLinks IncludesNOEXEC
Options FollowSymLinks IncludesNOEXEC
AllowOverride AuthConfig Limit Indexes Options
Order allow,deny
Allow from all
</Directory>


<Directory "/classes/AE/324">
Options Indexes
</Directory>

<Directory "/classes/ABE/324">
Options Indexes
</Directory>

<Directory "/classes/CHE/324">
Options Indexes
</Directory>

<Directory "/classes/ABE/test/">
Options Indexes
</Directory>

  #2 (permalink)  
Old 02-11-2006
HansH
 
Posts: n/a
Default Re: apache Indexes question

<merrittr@gmail.com> schreef in bericht
news:1139638446.208157.43830@o13g2000cwo.googlegro ups.com...
> I have the following Directory directive in my httpd.conf file my
> intent was to disallow directory browsing at the http root level
> but then in certain cases enable it at a sub directory level. can
> anyone spot what I am doing wrong?
>
> <Directory />

This is the root of your filesystem,
try <Location /> to handle the root of your site.

HansH


  #3 (permalink)  
Old 02-13-2006
merrittr@gmail.com
 
Posts: n/a
Default Re: apache Indexes question

I forgot the /news/httpd/htdocs part for
/news/httpd/htdocs/classes/AE/324

that was my problem

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0