On a picture it is shown, how the apache cuts down names of files in
the windows-1251 (cyrillic) encoding and spoils the table.
http://ipicture.ru/uploads/080620/82HT1DSbCp.jpg
#Fragment from a conf-file:
Alias /upd/ "C:/Upd/"
<Directory "C:/Upd/">
Options Indexes FollowSymLinks Includes
IndexOptions FancyIndexing SuppressHTMLPreamble XHTML FoldersFirst
SuppressDescription
AllowOverride None
Order allow,deny
Allow from all
HeaderName /HEADER.shtml
ReadmeName /README.shtml
</Directory>
If to use IndexOptions Charset=windows-1251 the table becomes
beautiful, but names of files become not readable. Picture2:
http://ipicture.ru/uploads/080620/UIJ7Hir6Ed.jpg
What can I do?
> On a picture it is shown, how the apache
Which version of Apache?
> cuts down names of files in
> the windows-1251 (cyrillic) encoding and spoils the table.
> http://ipicture.ru/uploads/080620/82HT1DSbCp.jpg
>
> If to use IndexOptions Charset=windows-1251 the table becomes
> beautiful, but names of files become not readable. Picture2:
> http://ipicture.ru/uploads/080620/UIJ7Hir6Ed.jpg
This last picture shows that the file names are actually
encoded in UTF-8, not Windows-1251. Older versions of Apache
count only the bytes, not the characters to line up.
This gives wrong results with UTF-8.
> What can I do?
IndexOptions +SuppressLastModified
IndexOptions +SuppressSize
--
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell
The version of apache: 2.2.9-win32-x86.
>>What can I do?
> IndexOptions +SuppressLastModified
> IndexOptions +SuppressSize
I would like to see date and the size.
And it would be convenient for users.
> The version of apache: 2.2.9-win32-x86.
Then try
IndexOptions +HTMLTable
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexoptions
> Then try
> IndexOptions +HTMLTable
Many thanks!
+HTMLTable has helped me to solve this problem.
:)
--
One more useful option: NameWidth.