ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Apache virual hosts
@ 2004-11-24 10:09 Jury Levykin
  2004-11-24 10:13 ` Denis Klykvin
  2004-11-24 10:15 ` Mike Lykov
  0 siblings, 2 replies; 6+ messages in thread
From: Jury Levykin @ 2004-11-24 10:09 UTC (permalink / raw)
  To: community

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 отображается.

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Apache virual hosts
  2004-11-24 10:09 [Comm] Apache virual hosts Jury Levykin
@ 2004-11-24 10:13 ` Denis Klykvin
  2004-11-24 10:27   ` Jury Levykin
  2004-11-24 10:15 ` Mike Lykov
  1 sibling, 1 reply; 6+ messages in thread
From: Denis Klykvin @ 2004-11-24 10:13 UTC (permalink / raw)
  To: community

On Wed, 24 Nov 2004 13:09:38 +0300
Jury Levykin <altcomm@list.ru> wrote:

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

Options Indexes Includes

не оно?


-- 
With Best Wishes, Denis Klykvin
JID:	nikon@jabber.ru
XmmS now play:  Русский Размер и Профессор Лебединский - Синий-синий
тикет


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Apache virual hosts
  2004-11-24 10:09 [Comm] Apache virual hosts Jury Levykin
  2004-11-24 10:13 ` Denis Klykvin
@ 2004-11-24 10:15 ` Mike Lykov
  1 sibling, 0 replies; 6+ messages in thread
From: Mike Lykov @ 2004-11-24 10:15 UTC (permalink / raw)
  To: community

В сообщении от Среда 24 Ноябрь 2004 14:09 Jury Levykin написал:
> ALM 2.2 Apache 1.3.33
>
> Можно настроить виртуальнык хосты так, чтобы при отсутствии index.html
> отображалось содержимое кталога вместо:
> You don't have permission to access /dirname/ on this server.

можно и не только виртуальные. см. directoryindex, + indexes и т.п.

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Apache virual hosts
  2004-11-24 10:13 ` Denis Klykvin
@ 2004-11-24 10:27   ` Jury Levykin
  2004-11-24 10:30     ` Denis Klykvin
  0 siblings, 1 reply; 6+ messages in thread
From: Jury Levykin @ 2004-11-24 10:27 UTC (permalink / raw)
  To: community

Denis Klykvin пишет:

>Options Indexes Includes
>
>не оно?
>  
>
В http.conf есть строчка:
Options Indexes Includes FollowSymLinks MultiViews

ее еще в Vhosts.conf добаывить нужно?



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Apache virual hosts
  2004-11-24 10:27   ` Jury Levykin
@ 2004-11-24 10:30     ` Denis Klykvin
  2004-11-24 10:38       ` Jury Levykin
  0 siblings, 1 reply; 6+ messages in thread
From: Denis Klykvin @ 2004-11-24 10:30 UTC (permalink / raw)
  To: community

On Wed, 24 Nov 2004 13:27:21 +0300
Jury Levykin <altcomm@list.ru> wrote:

> Denis Klykvin пишет:
> 
> >Options Indexes Includes
> >
> >не оно?
> >  
> >
> В http.conf есть строчка:
httpd.conf ;)
> Options Indexes Includes FollowSymLinks MultiViews
> ее еще в Vhosts.conf добаывить нужно?
А на какую папку оно висит?
У меня просто прописано на конкретные vhost'ы.



-- 
With Best Wishes, Denis Klykvin
JID:	nikon@jabber.ru
XmmS now play:  Русский Размер и Профессор Лебединский - В последний раз


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Apache virual hosts
  2004-11-24 10:30     ` Denis Klykvin
@ 2004-11-24 10:38       ` Jury Levykin
  0 siblings, 0 replies; 6+ messages in thread
From: Jury Levykin @ 2004-11-24 10:38 UTC (permalink / raw)
  To: community

Denis Klykvin пишет:

>А на какую папку оно висит?
>
Висело на /var/www/html
прописал еще и на другую - заработало.
Спасибо.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-24 10:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-24 10:09 [Comm] Apache virual hosts Jury Levykin
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

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