ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Konstantin Polanskiy" <kostya@altertech.ru>
To: "ALT Linux Community" <community@altlinux.ru>
Subject: Re: [Comm] httpd and virtualhosts and ssl
Date: Thu, 25 Aug 2005 10:55:28 +0400
Message-ID: <007101c5a941$fa663da0$62fe0a0a@WORKER> (raw)
In-Reply-To: <20050824172655.7988758c.aphlux@mail.ru>

*This message was transferred with a trial version of CommuniGate(tm) Pro*
>>
>> Настроил httpd & openssl и настроил виртуальные хосты (например два)
>> Один хост должен работать по 443 порту и он успешно это делает, а вот 
>> второй
>> должен работать на 80 порту и он тоже как бы работает, но единственное, 
>> что
>> он выдает так это Forbidden.
>> До того как я настроил SSL, оба они прекрасно работали через hhtp!
>
> Конфиг в студию, телепаты в лучшем мире.
>
Итак, вот рабочий конфиг с которым ВСЕ заработало как надо!!!


################# Named VirtualHosts
NameVirtualHost 192.168.1.88
<VirtualHost 192.168.1.88:443>
SSLEngine on
Port 443
ServerName hzz.ru
DocumentRoot /var/www/htdocs/
DirectoryIndex index.html
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl/hzz.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl/hzz.key
SSLCACertificateFile /etc/httpd/conf/ssl/cert.crt
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
ErrorLog logs/error_log
TransferLog logs/access_log
</VirtualHost>
################# IP-based Virtual Hosts
NameVirtualHost 10.10.254.124
<VirtualHost 10.10.254.124>
ServerName 10.10.254.124
</VirtualHost>
################# IP-based Virtual Hosts
<VirtualHost 10.10.254.124:80>
Port 80
ServerAdmin support@hz.ru
ServerName 10.10.254.124
DocumentRoot /var/www/hz/
DirectoryIndex hz.php
ErrorLog logs/hz-error_log
TransferLog logs/hz-access_log
</VirtualHost>




  parent reply	other threads:[~2005-08-25  6:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-24 13:23 Konstantin Polanskiy
2005-08-24 13:26 ` Michael Isachenkov
2005-08-24 13:32   ` Konstantin Polanskiy
2005-08-24 13:35     ` Michael Isachenkov
2005-08-24 13:52       ` Konstantin Polanskiy
2005-08-24 14:04         ` Michael Isachenkov
2005-08-24 14:15           ` Konstantin Polanskiy
2005-08-24 14:22             ` Michael Isachenkov
2005-08-24 14:32               ` Konstantin Polanskiy
2005-08-24 14:54                 ` Michael Isachenkov
2005-08-24 15:02                   ` Konstantin Polanskiy
2005-08-24 15:16                     ` Michael Isachenkov
2005-08-24 17:22                       ` Polansky Konstantin
2005-08-25  5:03                         ` Alexander Volkov
2005-08-25  6:55   ` Konstantin Polanskiy [this message]
2005-08-25  7:03     ` Michael Isachenkov
2005-08-25  7:21       ` Konstantin Polanskiy
2005-08-25  8:21         ` [Comm] " Michael Shigorin
2005-08-25  8:22           ` Michael Isachenkov
2005-08-25  8:27     ` [Comm] " Mike Lykov
2005-08-25  8:33       ` [Comm] " Michael Shigorin
2005-08-25  8:56         ` Mike Lykov
2005-08-25  9:32           ` Konstantin Polanskiy
2005-08-25  9:35             ` Michael Isachenkov
2005-08-25 20:25               ` Michael Shigorin
2005-08-25  9:37             ` [Comm] btw, mod_ssl for sale (was: httpd and virtualhosts and ssl) Michael Shigorin
2005-08-26 12:04               ` Konstantin Polanskiy
2005-09-03 13:28                 ` [Comm] IA: mod_ssl sec update Michael Shigorin

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='007101c5a941$fa663da0$62fe0a0a@WORKER' \
    --to=kostya@altertech.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