httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] question about turning off indexing
Date Thu, 13 Feb 2003 15:45:31 GMT


>-----Original Message-----
>From: CJ [mailto:unix1adm@yahoo.com]
>Sent: Donnerstag, 13. Februar 2003 16:30
>To: users@httpd.apache.org
>Subject: RE: [users@httpd] question about turning off indexing
>
>
>Boyle, 
>
>Thank you for the information. 
>
>I did a search on the system for a .htaccess file and
>there is none. I checked the httpd.conf file and there
>is an entry for AccessFileName .htaccess
>
>But since I did not find a .htaccess file on the
>system I am guessing this is not the problem. 
>
>I have even tried a "default" httpd.conf file to see
>if it was something in my file. Same problem exists. 
>
>I did as you suggested and added the AllowOverride
>None and it returned an error of not allowed here. I
>put it at the very top like you said. 
>--- Boyle Owen <Owen.Boyle@swx.com> wrote:
>> >-----Original Message-----
>> >From: CJ [mailto:unix1adm@yahoo.com]
>> >
>> >For each directory I have listed in the httpd.conf
>> >file I added a line that says 
>> ><Directory /public>
>> >Options -Indexes
>> ></Directory>
>> 
>> This should be enough to switch off indexing.
>> 
>> >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. 
>> 
>> I guess you mean "IndexIgnore" - anyway; this will
>> stop any files
>> appearing but will still make an empty directory
>> page. Obviously, this
>> is not the solution.
>> 
>> The problem must be that something else is switching
>> Indexing back on. I
>> would suspect a .htaccess file with "Options
>> Indexes" inside it. Check
>> if you have an AccessFileName directive in
>> httpd.conf - this will tell
>> you the name apache expects for the access-file. If
>> nothing is there,
>> it's ".htaccess" by default. Look for this file
>> under the docroot and
>> see if it has an "Options Indexes" inside it - if
>> so, remove it.
>> 
>> Alternatively, just put "AllowOverride None" at the
>> top of httpd.conf -
>> this will switch off .htaccess altogether and you
>> can be sure that only
>> httpd.conf directives are being used. Then see if
>> "it works".
>> 
>> Rgds,
>> Owen Boyle
>> 
>> >
>> >Does this explain it better? 
>> >
>> >--- Joshua Slive <joshua@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
>> >
>> >
>> 
>> This message is for the named person's use only. It
>> may contain
>> confidential, proprietary or legally privileged
>> information. No
>> confidentiality or privilege is waived or lost by
>> any mistransmission.
>> If you receive this message in error, please notify
>> the sender urgently
>> and then immediately delete the message and any
>> copies of it from your
>> system. Please also immediately destroy any
>> hardcopies of the message.
>> You must not, directly or indirectly, use, disclose,
>> distribute, print,
>> or copy any part of this message if you are not the
>> intended recipient.
>> The sender's company reserves the right to monitor
>> all e-mail
>> communications through their networks. Any views
>> expressed in this
>> message are those of the individual sender, except
>> where the message
>> states otherwise and the sender is authorised to
>> state them to be the
>> views of the sender's company. 
>> 
>> 
>> 
>>
>---------------------------------------------------------------------
>> 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
>
>

---------------------------------------------------------------------
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


Mime
View raw message