Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Incorrect display of listing of the catalogue

1 view
Skip to first unread message

Evgeny

unread,
Jun 21, 2008, 5:53:38 AM6/21/08
to
Help Me please!
When at the catalogue there are files which names in other encodings,
the apache incorrectly processes names of files and the file-list
spoils.

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?

Andreas Prilop

unread,
Jun 23, 2008, 10:36:03 AM6/23/08
to
On Sat, 21 Jun 2008, Evgeny wrote:

> 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

Evgeny

unread,
Jun 23, 2008, 12:38:53 PM6/23/08
to
On 23 Jun, 19:36, Andreas Prilop wrote:
> Which version of Apache?

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.

Andreas Prilop

unread,
Jun 23, 2008, 12:58:08 PM6/23/08
to
On Mon, 23 Jun 2008, Evgeny wrote:

> 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

Evgeny

unread,
Jun 23, 2008, 3:49:48 PM6/23/08
to
On 23 Jun, 21:58, Andreas Prilop wrote:

> Then try
>   IndexOptions  +HTMLTable

Many thanks!
+HTMLTable has helped me to solve this problem.
:)
--
One more useful option: NameWidth.

0 new messages