From owner-freebsd-questions Thu Jan 30 13:50:29 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B22E737B401 for ; Thu, 30 Jan 2003 13:50:27 -0800 (PST) Received: from devil.stderror.at (at00d01-adsl-194-118-044-149.nextranet.at [194.118.44.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id E68C043F85 for ; Thu, 30 Jan 2003 13:50:19 -0800 (PST) (envelope-from pinhead@stderror.at) Received: by devil.stderror.at (Postfix, from userid 1000) id CCE8B15310; Thu, 30 Jan 2003 22:50:17 +0100 (CET) Date: Thu, 30 Jan 2003 22:50:17 +0100 From: Toni Schmidbauer To: freebsd-questions@FreeBSD.ORG Subject: Re: Apache Message-ID: <20030130215017.GA27741@devil.stderror.at> Reply-To: toni@stderror.at Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 30, 2003 at 10:20:18PM +0100, Gannater J=E1nos wrote: > I would like to enable ssl for apache. > So I can have a website at https:// > I compiled mod_ssl to my existing apache configuration. > When I say apachectl configtest a whole error log comes up... > How can I do this ssl thing correctly? > Where should I put the homepages to be availible at https:// ? > What should I have in the httpd.conf file? > The errors: > [Thu Jan 30 22:18:34 2003] [warn] Loaded DSO > libexec/apache/mod_vhost_alias.so uses plain Apache 1.3 API, > this module might crash under EAPI! (please recompile it > with -DEAPI) you have to recompile apache. mod_ssl comes with eapi (enhanced api) and the standard apache modules have to be aware of it. after installing apache with mod_ssl you will find a virtualhost section named "_default_:443". there you have to specify DocumentRoot. this is where apache searches for html files by default. normally it is set to /htdocs. but for a better explanation see the INSTALL file that comes with the mod_ssl source package.=20 toni --=20 Terror ist der Krieg der Armen, | toni@stderror.at Krieg ist der Terror der Reichen. | Toni Schmidbauer - Sir Peter Ustinov | --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+OZ4Zu/mjSj7RMocRAgAmAJ0Z2KtzTcVGmoKYZlRkk/Kp2/S4LgCfZPgw rjss8QH41BowkHuUgCCG2VE= =rMVv -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message