[LUGOS] apache

ICE Administrator sysadmin at ICEtelecom.si
Fri Apr 11 08:27:38 CEST 2003


Zal to ni kar iscem. Imam apache-ssl in v httpd.conf imam definirane
VirtualHoste. Dobil sem certificiran key, s katerim bi rad opremil vse
hoste. Ker nimam wildcard certifikata moram vse te VirtualHoste "zbrisati"
in jih definirati kot en sam host. Ker ne bi rad spreminjal URL (s strani
uporabnika) moram nekako z DocumentRootom to zadevo resiti.

-----Original Message-----
From: Andraz Sraka [mailto:a at aufbix.org]
Sent: Thursday, April 10, 2003 6:19 PM
To: lugos-list at lugos.si
Subject: Re: [LUGOS] apache


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



More information about the lugos-list mailing list