| View previous topic :: View next topic |
| Author |
Message |
Evgeny Guest
|
Posted: Sat Jun 21, 2008 9:53 am Post subject: Incorrect display of listing of the catalogue |
|
|
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? |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
Evgeny Guest
|
Posted: Mon Jun 23, 2008 4:38 pm Post subject: Re: Incorrect display of listing of the catalogue |
|
|
On 23 Jun, 19:36, Andreas Prilop wrote:
| Quote: |
Which version of Apache?
|
The version of apache: 2.2.9-win32-x86.
| Quote: |
What can I do?
IndexOptions +SuppressLastModified
IndexOptions +SuppressSize
|
I would like to see date and the size.
And it would be convenient for users. |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
Andreas Prilop Guest
|
Posted: Mon Jun 23, 2008 7:36 pm Post subject: Re: Incorrect display of listing of the catalogue |
|
|
On Sat, 21 Jun 2008, Evgeny wrote:
| Quote: |
On a picture it is shown, how the apache
|
Which version of Apache?
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.
IndexOptions +SuppressLastModified
IndexOptions +SuppressSize
--
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
Evgeny Guest
|
Posted: Mon Jun 23, 2008 7:49 pm Post subject: Re: Incorrect display of listing of the catalogue |
|
|
On 23 Jun, 21:58, Andreas Prilop wrote:
| Quote: |
Then try
IndexOptions +HTMLTable
|
Many thanks!
+HTMLTable has helped me to solve this problem.
--
One more useful option: NameWidth. |
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
Andreas Prilop Guest
|
|
| Back to top |
|
 |
| |
Ads |
Advertising
Sponsor
|
|
|