ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Павел Исопенко" <master@pauli.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Подскажите по настройкам httpd
Date: Tue, 26 May 2020 11:53:01 +0300
Message-ID: <6f561a86-58e2-5816-d21b-9e8969cd6f80@pauli.ru> (raw)
In-Reply-To: <ragsuf$1jc1$1@ciao.gmane.io>

Добрый день.

25.05.2020 19:49, Alexei Mezin пишет:
> Дано: p9-server "из коробки", там запускается Apache, и из коробки 
> установлена mediawiki, доступная по адресу http://Servername/wiki. 
> Хочу, чтобы wiki открывалась при запросе http://wiki.servername.
>
Чтобы нечто открывалось автоматом прямо при заходе на сервер, можно 
скорректировать параметр  DocumentRoot, что в конфиге 
/etc/apache2/sites-enabled/*default.conf

К примеру, чтобы по дефолту запускать egroupware, я в своё время делал 
так (закомментировать что было, вписать каталог установки приложения):

admin@asu:/etc/httpd2/sites-enabled$ cat 000-default.conf | grep 
DocumentRoot
#    DocumentRoot /var/www/html
     DocumentRoot /usr/share/egroupware

Была страница-заглушка, а стало приложение. Может и грубо, и где-то 
неправильно, зато просто и надёжно.

-- 
С уважением, Павел Исопенко
+79165329582



  reply	other threads:[~2020-05-26  8:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25 16:49 Alexei Mezin
2020-05-26  8:53 ` Павел Исопенко [this message]
2020-05-26 10:16   ` Alexei Mezin
2020-05-26 11:00     ` Andrey Cherepanov

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=6f561a86-58e2-5816-d21b-9e8969cd6f80@pauli.ru \
    --to=master@pauli.ru \
    --cc=community@lists.altlinux.org \
    /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