ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Jury Levykin <altcomm@list.ru>
To: community@altlinux.ru
Subject: [Comm] Apache virual hosts
Date: Wed, 24 Nov 2004 13:09:38 +0300
Message-ID: <41A45DE2.8080704@list.ru> (raw)

ALM 2.2 Apache 1.3.33

Можно настроить виртуальнык хосты так, чтобы при отсутствии index.html
отображалось содержимое кталога вместо:
You don't have permission to access /dirname/ on this server.

Прaва следующие:
# ls -la
total 16
drwxrwsr-x    3 root     webmaster     4096 Nov 24 12:56 .
drwxr-xr-x    6 root     webmaster     4096 Nov 24 12:21 ..
-rw-r--r--    1 root     webmaster     3978 Nov 24 12:41 _index.html
drwxr-sr-x    2 root     webmaster     4096 Nov 24 12:56 dirname

# ls -la dirname/
total 12
drwxr-sr-x    2 root     webmaster     4096 Nov 24 12:56 .
drwxrwsr-x    3 root     webmaster     4096 Nov 24 12:56 ..
-rw-r--r--    1 root     webmaster     3978 Nov 24 12:41 _index.html

при указании в браузере http://myurl/_index.html
файл _index.html отображается.

В не виртуальном, главном хосте, содержимое каталога отображается.



             reply	other threads:[~2004-11-24 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-24 10:09 Jury Levykin [this message]
2004-11-24 10:13 ` Denis Klykvin
2004-11-24 10:27   ` Jury Levykin
2004-11-24 10:30     ` Denis Klykvin
2004-11-24 10:38       ` Jury Levykin
2004-11-24 10:15 ` Mike Lykov

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=41A45DE2.8080704@list.ru \
    --to=altcomm@list.ru \
    --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