[Techtalk] apache2 and directory listings with capitalized names of files

Maria McKinley maria at shadlen.org
Thu Jan 14 23:12:05 UTC 2010


Thanks a bunch, google is pretty worthless when it comes to + signs...

cheers,
maria

Terri Oda wrote:
> The + and - signs tell apache that your options should be added (or 
> subtracted) from the existing list of options:
> 
> http://httpd.apache.org/docs/1.3/mod/core.html#options
> 
> So if you want to overwrite the current options, you don't use them, but 
> if you want to just modify the current options, you do.  And I guess in 
> your case, if there *are* no current options, you also don't use it.
> 
> Maria McKinley wrote:
>> Thanks a bunch, that did the trick. Well, except I had to get rid of 
>> the + sign, iow this was the line that worked
>>
>> IndexOptions IgnoreCase
>>
>> When I used the plus sign initially, it ignored the directive. Does 
>> anyone know how to know when you use a +, and when you don't? I'm 
>> wondering if this is one of the reasons I had problems getting apache 
>> to work the way I wanted it to when I was first setting things up.
>>
>> thanks,
>> maria
>>
>> adric at adric.net wrote:
>>> Hi,
>>>
>>> Checking http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html it 
>>> looks
>>> like:
>>>
>>> IndexOptions +IgnoreCase
>>>
>>> might do what you want. Quoting;
>>>
>>> IgnoreCase:
>>> If this option is enabled, names are sorted in a case-insensitive 
>>> manner.
>>> For instance, if the sort order is ascending by name, and IgnoreCase is
>>> enabled, file Zeta will be listed after file alfa (Note: file GAMMA will
>>> always be listed before file gamma).
>>>
>>> You'll have to use mod-autoindex module which they say is core, so it's
>>> probably included with your apache2 binaries. A quick check shows that
>>> this module is installed and enabled on a Debian Squeeze install of
>>> apache2.
>>>
>>> hth,
>>> adric
>>>
>>>> Hello all,
>>>>
>>>> So, we still have a couple of web pages around for internal use that 
>>>> are
>>>> just directory listings. The files get nice little icons, and you can
>>>> arrange them by name or modification date, etc. But when you list the
>>>> files by name, it separates the file names where the first letter is
>>>> capitalized, and sticks these on the top. Does anyone know if there is
>>>> any way to have it so the directory listing ignores capitalization?
>>>>
>>>> thanks,
>>>> maria
>>>> _______________________________________________
>>>> Techtalk mailing list
>>>> Techtalk at linuxchix.org
>>>> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>>>>
>>>
>>>
>>> _______________________________________________
>>> Techtalk mailing list
>>> Techtalk at linuxchix.org
>>> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>> _______________________________________________
>> Techtalk mailing list
>> Techtalk at linuxchix.org
>> http://mailman.linuxchix.org/mailman/listinfo/techtalk
>>


More information about the Techtalk mailing list