Date: Tue, 31 Jul 2001 17:35:05 -0400 From: "Peter Brezny" <peter@sysadmin-inc.com> To: <freebsd-isp@freebsd.org> Subject: apache 1.3.20 mod_ssl and front page version 5 2002 extensions. Message-ID: <NFBBKAEAALGGGFKINBLAOEDGCCAA.peter@sysadmin-inc.com>
next in thread | raw e-mail | index | archive | help
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 <Directory "/usr/local/share/doc/apache"> #was /usr/local/www/data # change in <Directory /> and <Directory "/usr/local/share/doc/apache">: AllowOverride None # to: AllowOverride AuthConfig Limit Indexes Options # change in <VirtualHost _default_:443> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NFBBKAEAALGGGFKINBLAOEDGCCAA.peter>