freebsd-ports/www/mod_frontpage2-rtr/pkg-message13
Pav Lucistnik cf5265af60 - Update to 5.0.2.4803 which fixes the vulnerability
PR:		ports/99321
Submitted by:	Scot W. Hetzel <swhetzel@gmail.com> (maintainer)
2006-06-26 13:56:30 +00:00

122 lines
3.5 KiB
Text

************************************************************************
1.)
The Frontpage module has been added to your Apache httpd.conf file,
as an inactive module. To activate this module:
apxs -e -a -n frontpage mod_frontpage.so
2.)
Check your httpd.conf, if you have included a ResourceConfig and
AccessConfig. If you do not have these files, you'll have to add
these lines to make the frontpage extensions work properly. These
lines are commented out in the default config, so you'll have to
activate them again. If you have a real ResourceConfig and
AccessConfig, you can skip this part.
ResourceConfig /dev/null
AccessConfig /dev/null
3.)
You'll need to change the AllowOverride directive under the
default web from None to at least "AuthConfig Limit Indexes Options".
<Directory "%%PREFIX%%/www/data">
:
AllowOverride AuthConfig Limit Indexes Options
:
</Directory>
Don't use "AllowOverride All" if you have a server environment
with customers, since this can be a security risk, as they
could modify the .htaccess files themselves.
You'll also need to change the AllowOverride Directive on all
virtual hosts that you are going to enable with Frontpage Extentions.
4.)
You can turn the extensions and the frontpage administration on/off
per site in httpd.conf and per virtual server.
FrontPage On/Off # Allows/Disallows Client to publish with
FrontPage Extensions
FrontPageAdmin On/Off # Allows/Disallows Administration of web site
with FrontPage Extensions
By default FrontPage Extentions and Administration are enabled. If
the module has been compiled with WITH_MODFP_DISABLED, then you need to
add one of the above directives.
If the module has been compiled with WITH_MODFP_COMPAT, then the
following directives from the Improved Mod_Frontpage are available:
FrontPageEnable # Same as 'FrontPage On'
FrontPageDisable # Same as 'FrontPage Off'
FrontPageAdminEnable # Same as 'FrontPageAdmin On'
FrontPageAdminDisable # Same as 'FrontPageAdmin Off'
5.)
If this is a fresh Apache install, you should remove the symbolic link
to the %%PREFIX%%/www/data directory, and create a real directory.
rm %%PREFIX%%/www/data
mkdir %%PREFIX%%/www/data
6.)
After you have made these changes, you'll need to execute:
%%PREFIX%%/frontpage/version5.0/fp_install.sh
to build the base apache/frontpage web site and to setup frontpage
users and admins. You can also run this to add virtual hosts to
the apache/frontpage system.
NOTE: If you get this error:
Error: An access setup description is required when creating the root web.
check the document root for .htaccess files. Rename them, and then combine
them with the .htaccess files created by the frontpage install.
7.)
If you have installed the port in another PREFIX than "/usr/local"
you have to create a symlink. Microsoft has hardcoded the local
path in their binarys. If you do not use fp_install.sh, you have
to create the link manually:
ln -s %%PREFIX%%/frontpage /usr/local/frontpage
NOTE:
1. When using owsadm.exe, you need to specify the server type in the
command.
owsadm.exe -t apache-fp ...
2. To create the Global Administration web site use:
owsadm.exe -o setadminport -p <PORT> -t apache-fp \
-s %%PREFIX%%/etc/apache/httpd.conf -username <USERNAME> \
-pw <PASSWORD>
where PORT is not equal to any existing web servers port.
3. To remove the Global Administration web site use:
owsadm -o deleteadminport -t apache-fp \
-s %%PREFIX%%/etc/apache/httpd.conf
************************************************************************