Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
local
/
frontpage
/
version5.0
/
Upload File :
New :
File
Dir
//proc/self/root/usr/local/frontpage/version5.0/readme_apache_dso.txt
FPSE 2002 Service Release 1.1. This service release (FPSE2002 SR1.1) of the Microsoft FrontPage Server Extensions for Unix is a maintenance release that also enhances mod_frontpage with Apache 1.3 and adds support for Apache 2.0. New features: ------------- Apache 1.3.26 and above may now implement mod_frontpage as a Dynamic Shared Object, DSO. Apache 2.0.40 and above is supported with mod_frontpage as a DSO module. Original feature: ----------------- The FPSE built into Apache 1.3.26 is still available in this kit and still supported. Our expectation is that it will be not be implemented in new installations and over time dropped by users in favor of the DSO model. The FPSE built into Apache 1.3.26 is identical to the mod_frontpage.c provided in this kit, and no longer requires any patches to Apache code. Prior FPSE installation: ------------------------ The mod_frontpage DSO functions with Apache 1.3 whether or not you've previously patched Apache for FrontPage Support. Installation Examples: ---------------------- This SR1.1 ships with an enhanced fp_install.sh to allow you to select the new configuration options. Your installation choices are: Apache 1.3 with mod_frontpage, Apache 1.3 with mod_frontpage as a DSO, Apache 2.0 with mod_frontpage as a DSO. --- Option One: Apache 1.3 with mod_frontpage. --- Which version of Apache will you be using? (1.3 or 2.0) You need respond with the appropriate version of Apache. Please note that we do not supply a Apache 2.0 binary, we do supply Apache 1.3.26 with mod_frontpage binary. If you choose 1.3 you next question is: Where is the current apache daemon located: [] You need to respond with the full path to the location of httpd, for example /usr/local/apache/sbin/httpd. This information is used to determine which implementation of Apache you have chosen. If your httpd is a version below 1.3.26 or does not have mod_frontpage built-in you will see: Currently running Apache/1.3.19 Checking for previous versions of FrontPage Server Extensions to upgrade... You have no previous versions of FrontPage Server Extensions installed. There are no settings to migrate! Checking if the FrontPage patch to Apache is already installed. The FrontPage server patch has not been installed in your server Your Apache needs to be upgraded. We recommend installing Apache 1.3.26 with mod_so. Alternatively, we can install a prebuilt Apache 1.3.26 that has been patched to work with this version of FrontPage. Our prebuilt Apache is a stock Apache containing the FrontPage patch and may result in the loss of any nonstandard modules that have been compiled into the Apache daemon that you have currently installed. Any your next question is: Are you sure you want to install the prebuilt Apache? (y/n) [N] ? If you answer Y (yes), then the httpd found in /usr/local/frontpage/version5.0/apache-fp/ will be copied to /usr/local/apache/sbin/httpd and your original httpd will be renamed to httpd.orig. Note: if you have any additional modules in your httpd that functionality will be lost with this option. If you answer N (no), then you will see: Please install Apache 1.3.26 with mod_so, then rerun this installation. --- Option Two: Apache 1.3 with mod_frontpage as a DSO. --- Which version of Apache will you be using? (1.3 or 2.0) You need respond with the appropriate version of Apache. Please note that we do not supply a Apache 2.0 binary, we do supply Apache 1.3.26 with mod_frontpage binary. Where is the current apache daemon located: [] You need to respond with the full path to the location of httpd, for example /usr/local/apache/sbin/httpd. This information is used to determine which implementation of Apache you have chosen. Currently running Apache/1.3.27 Checking for previous versions of FrontPage Server Extensions to upgrade... You have no previous versions of FrontPage Server Extensions installed. There are no settings to migrate! Checking if the FrontPage patch to Apache is already installed. The FrontPage server patch has not been installed in your server You are running a newer version of Apache than supported by this kit. Your Apache should work with this version, but check our release notes to be sure. The mod_frontpage.so modules is not installed. Your choices are: Let us install our mod_frontpage.so into your existing Apache Install Apache 1.3.26 with mod_so. Install Apache 1.3.26 with our patch. Do you want us to install mod_frontpage.so into your existing Apache (y/n) [N]? If you respond with N, you will receive: Please install the appropriate Apache, and then rerun this installation. If you respond with Y, you will receive: Using the Apache apxs utility to build mod_frontpage.so gcc -DLINUX=22 \ -DUSE_HSREGEX -fpic -DSHARED_MODULE -I/usr/local/apache/include \ -c /usr/local/frontpage/version5.0/apache-fp/mod_frontpage.c gcc -shared -o /usr/local/frontpage/version5.0/apache-fp/mod_frontpage.so \ mod_frontpage.o Using the Apache apxs utility to install mod_frontpage.so [activating module `frontpage' in conf/httpd.conf] cp /usr/local/frontpage/version5.0/apache-fp/mod_frontpage.so /usr/local/apache/libexec/mod_frontpage.so chmod 755 /usr/local/apache/libexec/mod_frontpage.so cp conf/httpd.conf conf/httpd.conf.bak cp conf/httpd.conf.new conf/httpd.conf rm conf/httpd.conf.new Finished running the Apache apxs utility. --- Option Three: Apache 2.0 with mod_frontpage as a DSO. --- Which version of Apache will you be using? (1.3 or 2.0) If you respond with 2.0 you will be asked for the location of your apache control file. Where is the current apache control file (apachectl) located: [] You should respond with the full path to this file. Currently running Apache/2.0.40 Checking for previous versions of FrontPage Server Extensions to upgrade... You have no previous versions of FrontPage Server Extensions installed. There are no settings to migrate! Using the Apache apxs utility to build mod_frontpage.so /usr/local/apache/build/libtool --silent --modecompile gcc \ -prefer-pic \ -DAP_HAVE_DESIGNATED_INITIALIZER \ -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE \ -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread -I/usr/local/apache/include -c -o \ /usr/local/frontpage/version5.0/apache2/mod_front page.lo /usr/local/frontpage/version5.0/apache2/mod_frontpage.c && touch /usr/local/frontpage/version5.0/apache2/mod_frontpage.slo /usr/local/apache/build/libtool --silent --mode=compile gcc \ -prefer-pic \ -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX3D2 -D_REENTRANT \ -D_XOPEN_SOURCE500 \ -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -g -O2 -pthread \ -I/usr/local/apach e_2.0.40.worker/include -c -o \ /usr/local/frontpage/version5.0/apache2/mod_fpcgid.lo /usr/local/frontpage/version5.0/apache2/mod_fpcgid.c && touch /usr/local/frontpage/version5.0/apache2/mod_fpcgid.slo /usr/local/apache/build/libtool --silent --modelink gcc -o \ /usr/local/frontpage/version5.0/apache2/mod_frontpage.la -rpath \ /usr/local/apache_2.0. 40.worker/modules \ -module -avoid-version \ /usr/local/frontpage/version5.0/apache2/mod_fpcgid.lo \ /usr/local/frontpage/version5.0/apache2/mod_frontpage.lo Using the Apache apxs utility to install mod_frontpage.so /usr/local/apache/build/instdso.sh SH_LIBTOOL'/usr/local/apache/build/libtool' \ /usr/local/frontpage/version5.0/apache2/mod_frontpag e.la \ /usr/local/apache/modules \ /usr/local/apache/build/libtool --modeinstall cp /usr/local/frontpage/version5.0/apache2/mod_frontpage.la /usr/local/apache/modules / cp /usr/local/frontpage/version5.0/apache2/.libs/mod_frontpage.so /usr/local/apache/modules/mod_frontpage.so cp /usr/local/frontpage/version5.0/apache2/.libs/mod_frontpage.lai /usr/local/apache/modules/mod_frontpage.la cp /usr/local/frontpage/version5.0/apache2/.libs/mod_frontpage.a /usr/local/apache/modules/mod_frontpage.a ranlib /usr/local/apache/modules/mod_frontpage.a chmod 644 /usr/local/apache/modules/mod_frontpage.a PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/apache/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- chmod 755 /usr/local/apache/modules/mod_frontpage.so [activating module `frontpage' in /usr/local/apache/conf/httpd.conf] Finished running the Apache apxs utility. Known Issues: ------------- Apache 2.x The -t servertype option of owsadm.exe has been re-implemented for Apache 2. Always include -t apache-2.0 when invoking owsadm.exe from the command line. On Redhat Linux 8.0 you need to install the apache development rpm before running fp_install.sh. Please note that some versions of the RPM are missing a file called instdso.sh. This can be obtained from the Apache web site http://www.apache.org. Compiling and installing your own version of the Apache module -------------------------------------------------------------- With this release of the FrontPage Server Extensions for UNIX, the FrontPage Apache module is installed as Dynamic Shared Object (DSO). It is no longer necessary to patch Apache. We still ship the source code for the FrontPage Apache module, and we still ship a prebuilt Apache with the FrontPage Apache module built-in. However, users who wish to build the FrontPage Apache module themselves should use the new DSO mechanism. This mechanism requires that your Apache be built with mod_so (a standard module included in the Apache source distribution). To compile an Apache Web server with any custom or nonstandard modules along with the FrontPage Apache module, follow the directions in this section. If you do not want to compile your own Apache Web server, the FrontPage installation utility can install it for your, using the Apache apxs utility. Before compiling and installing the FrontPage Apache module, you must first uncompress and untar the FrontPage 2002 Server Extensions file, a process which fp_install.sh does for you. When this is completed, two FrontPage Apache module directories will be available. The apache-fp directory will contain mod_frontpage.c. The apache2 directory will contain mod_frontpage.c, mod_frontpage.h, mod_fpcgid.c, and mod_fpcgid.h. Two separate versions are used because of significant differences between modules for Apache 1.3 and Apache 2.0. To compile and install your own version of the FrontPage Apache module, use the Apache apxs utility. This utility is part of Apache and is installed in the Apache bin directory by default. This utility ensures that the FrontPage Apache module is compiled using the correct set of include files for your Apache installation. Note that the FrontPage installation script can automatically install the FrontPage module, so that it is usually not necessary to run apxs directly. To compile the FrontPage Apache module using apxs, change to the directory containing the FrontPage Apache module source code, and use For Apache 1.3: ${httpd_root}/bin/apxs -c mod_frontpage.c For Apache 2.0 ${httpd_root}/bin/apxs -c mod_frontpage.c mod_fpcgid.c where ${httpd_root} is the root of your Apache installation tree. (This is for standard Apache installations. Other installation layouts may place the apxs utility in a different directory.) This command will compile the FrontPage Apache module source code, leaving the DSO file in the same directory tree. To install the FrontPage Apache module into Apache, from the same directory as above: For Apache 1.3: ${httpd_root}/bin/apxs -i -a -n frontpage ./mod_frontpage.so For Apache 2.0: ${httpd_root}/bin/apxs -i -a -n frontpage ./mod_frontpage.la This command will copy the Apache module into the appropriate directory in the Apache installation tree, and will automatically edit your configuration file to include an appropriate LoadModule command.