From: Dmitriy Kruglikov <dmitriy.kruglikov@gmail.com>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Настройка SSL в apache2
Date: Wed, 24 Nov 2010 11:07:47 +0200
Message-ID: <AANLkTi=2p5suwn93CC7M__6iVVZssFuVKrFvhAeyTAN_@mail.gmail.com> (raw)
In-Reply-To: <4CECD4D5.90707@altlinux.ru>
24 ноября 2010 г. 11:03 пользователь Anton Gorlov написал:
> Смутно помнится что name based virtual host может быть только 1... хотя мб
> путаю.
Не претендую на истину в последней инстанции, но у меня несколько
конфигов, по именам...
name1.domain.ua
name2.domain.ua
...
nameN.domain.ua
Для каждого свой конфиг.
В одном из них прописано
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [R,L]
и
SSLCertificateFile "/var/lib/ssl/certs/name1.pem"
SSLCertificateKeyFile "/var/lib/ssl/certs/name1.pem"
ну и все остальное, как обычно...
Не знаю, как по феншую, но у меня работает...
Каждый Vhost в своем /var/www/vhosts/name* живет и соседу не мешает...
--
Best regards,
Dmitriy Kruglikov.
QString at, dot, mail, XMPP;
at = "@";
dot = ".";
mail = "Dmitriy.Kruglikov" + $at +"gmail" + $dot + "com";
XMPP = $mail;
next prev parent reply other threads:[~2010-11-24 9:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-24 8:39 Yury L.Olkov
2010-11-24 8:43 ` Dmitriy Kruglikov
2010-11-24 9:03 ` Anton Gorlov
2010-11-24 9:07 ` Dmitriy Kruglikov [this message]
2010-11-24 9:29 ` Anton Gorlov
2010-11-24 9:34 ` Andrey Konnov
2010-11-24 9:48 ` Dmitriy Kruglikov
2010-11-24 9:56 ` Alexei Takaseev
2010-11-24 10:06 ` Dmitriy Kruglikov
2010-11-24 10:15 ` Sergey Vlasov
2010-11-24 10:22 ` Dmitriy Kruglikov
2010-11-25 5:10 ` Alexei Takaseev
2010-11-25 5:03 ` Alexei Takaseev
2010-11-25 7:10 ` Dmitriy Kruglikov
2010-11-24 10:11 ` Andrey Konnov
2010-11-24 10:14 ` Dmitriy Kruglikov
2010-11-24 12:06 ` Anton Kvashin
2010-11-24 12:07 ` Anton Gorlov
2010-11-24 12:13 ` Anton Kvashin
2010-11-24 12:16 ` Dmitriy Kruglikov
2010-11-24 12:22 ` Anton Kvashin
2010-11-24 12:27 ` Dmitriy Kruglikov
2010-11-24 12:14 ` Dmitriy Kruglikov
2010-12-01 9:29 ` Yury L.Olkov
2010-12-01 10:20 ` Дмитрий Дегтярев
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='AANLkTi=2p5suwn93CC7M__6iVVZssFuVKrFvhAeyTAN_@mail.gmail.com' \
--to=dmitriy.kruglikov@gmail.com \
--cc=sysadmins@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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git