Print this page

Install Frontpage Extensions 2002 on RHEL Apache 2.0

 

How to install Frontpage Extensions 2002 on RHEL Apache


downloaded fp50.linux.tar.gz from http://www.rtr.com

Uncompressed archive and ran install script inside of it. Answered prompts as follows:

1.Are you satisfied with your backup of the system (y/n) [N]? Y
2.FrontPage Server Extensions directory [/usr/local/frontpage/]: Enter/accept
3.Which directory is the file located in (X to cancel)? path-to-dir-containing-uncompressed-tarball
4.Where is the zcat which can uncompress gz files? /bin/zcat
5.Read License agreement and accept
6.Which version of Apache will you be using? (1.3 or 2.0)2.0
7.Where is the current apache control file (apachectl) located: [] /usr/sbin/apachectl

8.WARNING: The Apache you are running is newer than the one
supported by this kit.
You are running Apache 2.0.46 .
This kit supports Apache .
Do you wish to continue? (y/n) [N]?Y

9.Would you like interactive prompting for each webs owner/group (y/n) [Y]?n
10.Which local character encoding does your system support: [1] Enter/accept
11.What should the default language be: [1] Enter/accept
12.Do you want to install a root web (y/n) [Y]?y
13.Server config filename: /etc/httpd/conf/httpd.conf
14.FrontPage Administrator's user name: admin [password: E1n5te1n]
15.Enter the new server's port number: pta.district70.org:80

16.Getting User from /etc/httpd/conf/httpd.conf
Unix user name of the owner of this new web: [apache
user] pta

17.Getting Group from /etc/httpd/conf/httpd.conf
Unix group of this new web: [apache] apache

18.Install new sub/per-user webs now (y/n) [Y]?n
19.Do you want to install Virtual Webs (y/n) [Y]?n



Now, install is complete. Next, you need to add an admin port to be able to access the FP Admin website. To do this, run the following command:

/usr/local/frontpage/version5.0/bin/owsadm.exe -o setadminport -t apache-2.0 -s /etc/httpd/conf/httpd.conf -port 5561 -username admin -pw yourpwd

You should now be able to log into your admin site with admin:yourpwd. However, the graphics on the page do not show up correctly. To fix this,

1. edit /etc/httpd/conf/httpd.conf by adding 'MIMEMagicFile /dev/null' to the frontpage virtualhost section

Listen 9090
<VirtualHost _default_:9090>
DocumentRoot /usr/local/frontpage/version5.0/admin-exes
DirectoryIndex fpadmcgi.exe
MIMEMagicFile /dev/null
<Directory /usr/local/frontpage/version5.0/admin-exes/>
AddHandler cgi-script .exe
Options ExecCGI
AllowOverride All
</Directory>
</VirtualHost>


<VirtualHost *:80>
ServerName fpsite.example.com
ServerAlias fpsite fpsite.example2.com
DocumentRoot /var/www/html/win_clients/fpsite
MIMEMagicFile /dev/null
ErrorLog logs/fpsite.example.com.error_log
CustomLog logs/fpsite.example.com.custom_log common
</VirtualHost>



2. Add the following to /etc/httpd/conf/httpd.conf

<Directory /var/www/html/win_clients/fpsite>
AllowOverride All
</Directory>


3. You should now be able to login to http://fpsite.example.com:5561 with admin:yourpwd Then you should be able to go to the site administration page and add a new fp user. This will be the user account that fpsite users can use to publish their website.

4. After this, any virtual host in httpd.conf can be extended as follows:
a. log into admin site http://fpsite.example.com:5561 and extend the virtual server of interest.
b. add to /etc/httpd/conf/httpd.conf:
<Directory /var/www/html/win_clients/fpsite2>
AllowOverride All
</Directory>

and add MIMEMagicFile /dev/null
to the virtual host for that virtual server

c. reload httpd service