ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin N. Bezruchenko" <bk@bezruk.com>
To: Jury Levykin <community@altlinux.ru>
Subject: Re: [Comm] Apache configuration ?
Date: Sun, 10 Oct 2004 20:54:36 +0300
Message-ID: <966888985.20041010205436@bezruk.com> (raw)
In-Reply-To: <4168F9A6.8040808@list.ru>

Здравствуйте, Jury.
Вы писали 10 октября 2004 г., 11:58:14:

> Если в каталоге  mydir -- http://www.mydomain.ru/mydir/
> нет файла index.html апач по умолчанию показывает содержание каталога.

> Подскажите, есть опции отвечающие за вывод информации в таком виде?
> Если есть то какие?

> Мня интересует, в первую очередь, можно ли изменить число символов
> в колонке отображающей имена файлов?
> У меня после 20 символов имена режутся и заменяются на "file_name..>"
> хочется увидеть полные имена длиной 30-40 символов.

> Можно ли назначить свои иконки на определенные типы файлов?
> По умолчанию апач показывает иконку с "[?]" если тип фала ему не известен.

> Apache 1.3.31, ALM 2.2

Ну во-первых у вас должен стоять mod_autoindex.
Далее должен быть включен IndexOptions FancyIndexing  в конфиге
Затем чтобы изменить число символов надо дописать что-то вроде этого
(пишу по памяти)

IndexOptions FancyIndexing NameWidth=20 где собственно NameWidth и
явлется шириной столбца в котором показывается имя файла.

Иконки можно тоже назначить. Все иконки лежать в директории icons
там где serverroot у апача.

Можно либо поредактировать иконку в которой находится этот вопросик,
или просто нарисовать свою и добавить ее вместо

DefaultIcon /icons/unknown.gif

-- 
Konstantin N. Bezruchenko
BK5536-RIPE



      reply	other threads:[~2004-10-10 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10  8:58 Jury Levykin
2004-10-10 17:54 ` Konstantin N. Bezruchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=966888985.20041010205436@bezruk.com \
    --to=bk@bezruk.com \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git