[LUGOS] apache

Andraz Sraka a at aufbix.org
Thu Apr 10 18:19:28 CEST 2003


re

On Thu, 2003-04-10 at 16:19, ICE Administrator wrote:
> Imam postavljene VirtualHoste na apachu. Imam certificiran en certifikat.
> Ker certifikat velja samo za en server, sem sedaj v dilemi kako "spraviti"
> vse VirtualHoste z enim certifikatom.

npr. nekaj takega (primer apache configuracije, kjer en apache streze
tako http kot https; strani preko SSLa)

------------------
.
.
Listen 80	 
Listen 443	
.
.
LoadModule apache_ssl_module /usr/lib/apache/1.3/libssl.so
.
Port 443
Port 80
.
NameVirtualHost x.x.x.x:80
NameVirtualHost x.x.x.x:443
SSLDisable
.
SSLCacheServerPath /usr/lib/apache-ssl/gcache
SSLCacheServerPort /var/run/gcache_port
SSLSessionCacheTimeout 15
SSLCACertificatePath /etc/apache-ssl
.
SSLCertificateFile /etc/apache-ssl/apache.pem
SSLVerifyClient 0
SSLVerifyDepth 10
SSLFakeBasicAuth

#SSLLogFile /var/log/ssl.log

# primer navadnega vhosta
<VirtualHost x.x.x.x:80>
ServerAdmin webmaster at foobar.org
DocumentRoot /var/www/foobar.org/
ServerName www.foobar.org
</VirtualHost>
.
.
# primer istega vhosta prek SSLa
<VirtualHost x.x.x.x:443>
SSLEnable
ServerAdmin webmaster at foobar-ssl.org
DocumentRoot /var/www/foobar-ssl.org
ServerName www.foobar-ssl.org
</VirtualHost>

---------------

lp,
 Andraz

-- 
BOFH excuse #164:

root rot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://liste2.lugos.si/pipermail/lugos-list/attachments/20030410/081096ca/attachment-0001.pgp


More information about the lugos-list mailing list