You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by CJ <un...@yahoo.com> on 2003/02/12 18:26:34 UTC

[users@httpd] question about turning off indexing

I am having trouble getting apache 1.3.27 to turn off
the indexing feature. I added the line 

<Directory/>
Options -Indexes
Options FollowSymlinks
AllowOverride None
</Directory>

I added the option of 

IndexIgnore .. *
and that will work OK but I want to turn it off all
togather. 

What am I missing here???

Thanx

CJ

=====
There are two major products to come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence.
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] question about turning off indexing

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 13 Feb 2003, CJ wrote:

> OK As I previously stated I tried the following:
> For each directory I have listed in the httpd.conf
> file I added a line that says
> <Directory />
> Options -Indexing
> Options FollowSymLinks
> AllowOverride None
> </Directory>
> #
> <Directory /public>
> Options -Indexes
> </Directory>
> #
> <Directory /cgi-bin>
> Options -Indexes
> </Directory>

The problem here is almost certainly that the directories /public and
/cgi-bin don't exist.  <Directory> sections point to FILE-SYSTEM
directories, not webpaths.  So you probably need something more like

<Directory /usr/local/apache2/htdocs/public>
Options -Indexes
</Directory>

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] question about turning off indexing

Posted by CJ <un...@yahoo.com>.
OK As I previously stated I tried the following:
For each directory I have listed in the httpd.conf
file I added a line that says 
<Directory />
Options -Indexing 
Options FollowSymLinks
AllowOverride None
</Directory>
#
<Directory /public>
Options -Indexes
</Directory>
#
<Directory /cgi-bin>
Options -Indexes
</Directory>

etc...
If I substute the Options line for
IndexIdnore .. * 
I do not see the files but I can still attempt to get
a dir listing. I do not want that. 

Does this explain it better? 

--- Joshua Slive <jo...@slive.ca> wrote:
> 
> On Wed, 12 Feb 2003, CJ wrote:
> 
> > Yes I tried that as well and it still does not
> work. I
> > can still get a dir index.
> 
> > > See:
> > >
> http://httpd.apache.org/docs/misc/FAQ.html#options
> 
> The answer in the FAQ is perfectly correct.  Saying
> "I tried that as well"
> doesn't tell us exactly what you did, but you must
> not have done it
> correctly.
> 
> Joshua.
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
There are two major products to come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence.
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] question about turning off indexing

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 12 Feb 2003, CJ wrote:

> Yes I tried that as well and it still does not work. I
> can still get a dir index.

> > See:
> > http://httpd.apache.org/docs/misc/FAQ.html#options

The answer in the FAQ is perfectly correct.  Saying "I tried that as well"
doesn't tell us exactly what you did, but you must not have done it
correctly.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] question about turning off indexing

Posted by CJ <un...@yahoo.com>.
Yes I tried that as well and it still does not work. I
can still get a dir index. 
--- Joshua Slive <jo...@slive.ca> wrote:
> 
> 
> 
> On Wed, 12 Feb 2003, CJ wrote:
> 
> > I am having trouble getting apache 1.3.27 to turn
> off
> > the indexing feature. I added the line
> >
> > <Directory/>
> > Options -Indexes
> > Options FollowSymlinks
> > AllowOverride None
> > </Directory>
> 
> See:
> http://httpd.apache.org/docs/misc/FAQ.html#options
> 
> Joshua.
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 


=====
There are two major products to come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence.
Blessed are the pessimists, for they make backups!
Tell me and I forget. Show me and I remember. Involve me and I learn."
10101010011100101001001000011010000001000100101010101010
0011001010100010110010101000010001010000

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] question about turning off indexing

Posted by Joshua Slive <jo...@slive.ca>.


On Wed, 12 Feb 2003, CJ wrote:

> I am having trouble getting apache 1.3.27 to turn off
> the indexing feature. I added the line
>
> <Directory/>
> Options -Indexes
> Options FollowSymlinks
> AllowOverride None
> </Directory>

See:
http://httpd.apache.org/docs/misc/FAQ.html#options

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org