Autodesk 15606-011408-9007 Installation Guide - Page 31

Common Configuration Steps, Setting Up Java for the Bundled Installation

Page 31 highlights

If you will be using JSP for development, ensure that you have performed the necessary steps described in Setting Up Java for the Bundled Installation (page 8). If you select the option to configure the web server manually, the installer installs and configures a version of Apache and Tomcat, but does not start the Apache server. By default, the configuration is set up to use PHP as the development environment. If you want to use JSP instead, you must remove the PHP configuration directives described in Configuring Apache to Use PHP (page 28) and add the JSP directives described in Configuring Apache to Use JSP (page 28). Most of the configuration is done by editing httpd.conf, in the conf directory of the Apache installation. NOTE Some directives have been split over multiple lines in this document, but they must be written on one line in the configuration file. Common Configuration Steps There are some steps you must perform whether you are using PHP or JSP as a development environment. ■ If you are using the Site Administrator or plan to use PHP as a development environment, configure Apache to process files with the .php extension. Edit httpd.conf. Look for the configuration of the PHP engine. Ensure it is set as follows, or add the following to the file as necessary. ScriptAlias /php/ "C:/Program Files/MapGuideOpenSource/ WebServerExtensions/Php/" Action application/x-httpd-php "/php/php-cgi.exe" AddType application/x-httpd-php .php ■ In the Dynamic Shared Object Support section, ensure that the rewrite module is enabled. If there is a comment character at the beginning of the line, remove it so it looks like this: LoadModule rewrite_module modules/mod_rewrite.so Common Configuration Steps | 27

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38

If you will be using JSP for development, ensure that you have performed the
necessary steps described in
Setting Up Java for the Bundled Installation
(page
8).
If you select the option to configure the web server manually, the installer
installs and configures a version of Apache and Tomcat, but does not start the
Apache server.
By default, the configuration is set up to use PHP as the development
environment. If you want to use JSP instead, you must remove the PHP
configuration directives described in
Configuring Apache to Use PHP
(page
28) and add the JSP directives described in
Configuring Apache to Use JSP
(page 28).
Most of the configuration is done by editing httpd.conf, in the conf directory
of the Apache installation.
NOTE
Some directives have been split over multiple lines in this document, but
they must be written on one line in the configuration file.
Common Configuration Steps
There are some steps you must perform whether you are using PHP or JSP as
a development environment.
If you are using the Site Administrator or plan to use PHP as a development
environment, configure Apache to process files with the .php extension.
Edit httpd.conf. Look for the configuration of the PHP engine. Ensure it
is set as follows, or add the following to the file as necessary.
ScriptAlias /php/ "C:/Program Files/MapGuideOpenSource/
WebServerExtensions/Php/"
Action application/x-httpd-php "/php/php-cgi.exe"
AddType application/x-httpd-php .php
In the Dynamic Shared Object Support section, ensure that the rewrite
module is enabled. If there is a comment character at the beginning of the
line, remove it so it looks like this:
LoadModule rewrite_module modules/mod_rewrite.so
Common Configuration Steps |
27