Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 52832 invoked by uid 500); 12 Nov 2002 20:45:25 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 52821 invoked from network); 12 Nov 2002 20:45:25 -0000 Received: from smtp2.starband.net (HELO apollo.email.starband.net) (148.78.247.23) by daedalus.apache.org with SMTP; 12 Nov 2002 20:45:25 -0000 Received: from directphp (vsat-148-64-7-192.c050.t7.mrt.starband.net [148.64.7.192]) by apollo.email.starband.net (8.12.4/8.12.4) with ESMTP id gACKkjbx006748 for ; Tue, 12 Nov 2002 15:46:49 -0500 Date: Tue, 12 Nov 2002 12:48:35 -0800 From: rdkurth@starband.net X-Mailer: The Bat! (v1.53d) Personal Reply-To: Richard Kurth X-Priority: 3 (Normal) Message-ID: <902367554.20021112124835@starband.net> To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] SSL and two apache servers My questions are probably stupid but I am not sure what to even ask to get the answers I need so here goes. I have two Apache server installed on Linux. The first server handles all the virtual sites the second handles a control panel for managing the server. That is all it does it is not used for anything else. You access the second server through rewrite rules from the first server. Hear is an example. It check to see if the main site has a certs and if it does it changes the login to https if not it uses http. this all works fine. if ( ssl_cert_check("/home/sites/home/certs/") =~ /^2/ ) { $proto = 'https'; } else { $proto = 'http'; } RewriteCond %{HTTP_HOST} ^([^:]+) RewriteRule ^/acp/?$ proto://servername:5000/autocontrol/index.php My question is I can not get the SSL part to work in the second server. The first server handles SSL just fine but when I try to access the second server with https I get a page not found. I want the second server to use the same certs that the first server does can I do this? What all do I need compiled in the second server to make it work with SSl? The second server is compiled with DSO so any thing else I add can it use DSO? What do I need to add to the conf file of the second server to make ssl work. This is how I compiled the second server. ./configure --target=autohttpd --prefix=/home/.autoserv/apache --enable-module=rewrite --enable-shared=rewrite --enable-module=proxy --enable-shared=proxy --with-port=5000 --sysconfdir=/home/.autoserv/apache/conf --htdocsdir=/home/.autoserv/html --cgidir=/home/.autoserv/cgi-bin --sysconfdir=/home/.autoserv/conf --logfiledir=/home/.autoserv/log --manualdir=/home/.autoserv/apache/manual -- Best regards, rdkurth mailto:rdkurth@starband.net --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org