From owner-freebsd-isp Tue Jul 31 14:42:54 2001 Delivered-To: freebsd-isp@freebsd.org Received: from ns2.sysadmin-inc.com (ns2.sysadmin-inc.com [209.16.228.145]) by hub.freebsd.org (Postfix) with SMTP id 1D61D37B401 for ; Tue, 31 Jul 2001 14:42:47 -0700 (PDT) (envelope-from peter@sysadmin-inc.com) Received: (qmail 83906 invoked by alias); 31 Jul 2001 21:36:05 -0000 Received: from unknown (HELO 98wkst) (10.10.1.70) by ns2.sysadmin-inc.com with SMTP; 31 Jul 2001 21:36:05 -0000 From: "Peter Brezny" To: Subject: apache 1.3.20 mod_ssl and front page version 5 2002 extensions. Date: Tue, 31 Jul 2001 17:35:05 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I keep hearing rumors that it's possible to get the version 5 front page extensions to work on apache 1.3.20 (even though ms says only 1.3.19 is supported) I've come up with the procedure below, however i continue to get the error from owsadm.exe that apache is not patched. Your help is appreciated. Peter Brezny SysAdmin Services Inc. PROCEDURE FOLLOWED: modified from the info below. not tested or complete. run /stand/sysinstall, configiure, distributions, compat3x (you can also just run the install.sh script on the cd). pw groupadd -n www pw useradd -n www -g www -c https -d /usr/local/www -s /sbin/nologin mkdir -p /home/www/data/; chown www.www /home/www/data/ chmod 555 /home/www/data/ mkdir -p /usr/local/src/frontpage/; cd /usr/local/src/frontpage fetch ftp://ftp.microsoft.com/products/frontpage/2002/fp_install.sh fetch ftp://ftp.microsoft.com/products/frontpage/fp50.freebsd.tar.z cd /usr/local/ tar -xvzf /usr/local/src/frontpage/fp50.freebsd.tar.z cd /usr/ports/www/apache13-modssl cp /usr/local/frontpage/version5.0/apache-fp/fp-patch-apache_1.3.19 files/patch-aj cp Makefile Makefile.orig vi Makefile ## add the following line after --enable-module=ssl \ : --add-module=${FILESDIR}/mod_frontpage.c \ --enable-module=frontpage \ --enable-shared=frontpage \ ## add the following to the end of the post-patch section (don't forget the backslash on the preceeding line) && mv mod_frontpage.c ../../files/ ## backup your changes cp Makefile Makefile.fp make all certificate install |& tee mi.out - Enter certificate info here === /* NOT DONE cd /usr/ports/www/apache13-fp make cp /usr/ports/www/apache13-fp/work/apache_1.3.19/src/modules/ \ extra/mod_frontpage.so /usr/local/libexec/apache/ */ NOT DONE vi /usr/local/etc/rc.d/apache.sh --- - add after #!/bin/sh: # # Create New FrontPage suidkey # new_key() { CUR_UMASK=`umask` skdir=/usr/local/frontpage/version5.0/apache-fp PERL=/usr/bin/perl if [ -x /usr/local/libexec/apache/mod_frontpage.so ] then #NOTE: We need Perl 5, to generate a new key if [ -x ${PERL} ] then umask 077 ${PERL} -e '@a=(split(//, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*-=_+" )); print((map {$a[rand(scalar @a)]} (1..128)), "\n");' > $skdir/suidkey umask ${CUR_UMASK} fi fi } # add after start: new_key # change: [ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl startssl > /dev/null && echo -n ' apache' # to: [ -x ${PREFIX}/sbin/apachectl ] && ${PREFIX}/sbin/apachectl startssl && echo -n ' apache' vi /usr/local/etc/apache/httpd.conf # change: BindAddress * AllowOverride All #in both places. User www #was nobody Group www #was nobody DocumentRoot "/usr/local/share/doc/apache" #was /usr/local/www/data #was /usr/local/www/data # change in and : AllowOverride None # to: AllowOverride AuthConfig Limit Indexes Options # change in DocumentRoot "/usr/local/share/doc/apache" #was /usr/local/www/data Getting the fp extensions applied to a site: /usr/local/frontpage/version5.0/set_default_perms.sh ERROR MESSAGE: v3# ./owsadm.exe -o install -p 80 -m dummy-host.example.com -s /etc/httpd.conf -u peter -p w peter -xu www -xg www Note: Local version of Apache must use the FrontPage Apache patch. Starting install, port: 80. Creating web http://dummy-host.example.com. Chowning Content in service /. Error: Cannot create folder "_private". To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message