ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Jury Levykin <altcomm@list.ru>
To: community@altlinux.ru
Subject: Re: [Comm] jdk1.5 + tomcat + apache 1.3* + mod_jk2
Date: Mon, 10 Jan 2005 20:11:14 +0300
Message-ID: <41E2B732.8080502@list.ru> (raw)
In-Reply-To: <20050110193932.35ea69f0@home.greg.com.ru>

Grigory Fateyev пишет:

>Здравствуйте!
>
>Устанавливал эту связку на ALM 2.2 плюс немного Compact 2.3.
>
>Проблема была с mod_jk2 но потом всё собралось из исходников:
>jakarta-tomcat-connectors-jk2-src-current.tar.gz
>потребовались дополнительно исходники apr и apr-utils
>
>Теперь вопрос. Tomcat читает тестовую директорию /opt/tomcat/webapps,
>как его натравить на виртуальные домены /var/www/$domain ?
>
Можно попробовать так:

webapps можно сделать символической ссылкой на /var/www
( но webapps/appName у меня не работало )

потом в conf/server.xml
-------------------------------
. . .
<Host
         name="virtualHostName1.domain.org"
         appBase="webapps"
      >
        <Context
          path = "/appName1"
          docBase = "appName1"
          reloadable = "true"
        />
        <Context
          path = "/appName2"
          docBase = "appName2"
          reloadable = "true"
        />
</Host>

<Host
         name="virtualHostName2.domain.org"
         appBase="webapps"
      >
        <Context
          path = "/appName1"
          docBase = "appName1"
          reloadable = "true"
        />
        <Context
          path = "/appName2"
          docBase = "appName2"
          reloadable = "true"
        />
</Host>
. . .
---------------------------------------


      reply	other threads:[~2005-01-10 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-10 16:39 Grigory Fateyev
2005-01-10 17:11 ` Jury Levykin [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=41E2B732.8080502@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