|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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/sear...Alan.J.Flavell |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
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...l#indexoptions -- In memoriam Alan J. Flavell http://groups.google.com/groups/sear...Alan.J.Flavell |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 23 Jun, 21:58, Andreas Prilop wrote:
> Then try > IndexOptions +HTMLTable Many thanks! +HTMLTable has ed me to solve this problem. ![]() -- One more useful option: NameWidth. |
|
![]() |
| Outils de la discussion | |
|
|