JSP 用 Apache の設定

httpd.conf の末尾に次の記述を追加します。

ScriptAlias /Autodesk Infrastructure Web Server Extension 2015/mapagent/mapagent.fcgi 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/
    www/mapagent/MapAgent.fcgi"
AliasMatch ^/Autodesk Infrastructure Web Server Extension 2015/mapviewerajax/([^\?])(.*)$ 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/
    www/mapviewerjava/$1$2"
Alias /Autodesk Infrastructure Web Server Extension 2015/mapviewerajax 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/
    www/mapviewerjava/ajaxviewer.jsp"
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/
    www/mapviewerjava/$1$2"
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/
Alias /mapserver2015 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/"
<Directory 
   "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/">
  AllowOverride All
  Options All
  Order allow,deny
  Allow from all
  AddHandler mgmapagent_handler .fcgi
  RewriteEngine on
  RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</Directory>
ScriptAlias /Autodesk Infrastructure Web Server Extension 2015/mapagent/mapagent.fcgi 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/mapagent/MapAgent.exe"
AliasMatch ^/Autodesk Infrastructure Web Server Extension 2015/mapviewerajax/([^\?])(.*)$ 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/mapviewerjava/$1$2"
Alias /Autodesk Infrastructure Web Server Extension 2015/mapviewerajax 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/mapviewerjava/ajaxviewer.jsp"
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/mapviewerjava/$1$2"
    "C:/Program Files/Autodesk/Autodesk Infrastructure Map Server 2015/
 
Alias /Autodesk Infrastructure Web Server Extension 2015 
    "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/"
<Directory 
   "C:/Program Files/Autodesk/Autodesk Infrastructure Web Server Extension 2015/www/">
  AllowOverride All
  Options All
  Order allow,deny
  Allow from all
  AddHandler mgmapagent_handler .fcgi
  RewriteEngine on
  RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]
</Directory>

<WebDir> を実際のパスに置き換えます。

設定ファイルに次の記述を追加します。これらの記述は Tomcat コネクタに必要です。<HostName>:<Port> を正しい名前とポートに置き換えます。localhost はリダイレクトされません。

LoadModule    jk_module  modules/mod_jk.so
 
JkWorkersFile 
    "C:/Program Files/Autodesk Infrastructure Web Server Extensions 2015//Apache2/conf/workers.properties"
 
# Where to put jk logs
JkLogFile 
    "C:/Program Files/Autodesk Infrastructure Web Server Extensions 2015/Apache2/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel    info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat     "%w %V %T"
# Send everything for context /examples to worker named 
# worker1 (ajp13)
JkMount /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/* worker1
 
Redirect /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerajax/ 
    http://<Hostname>:<Port>/Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/ajaxviewer.jsp
LoadModule    jk_module  modules/mod_jk.so
 
JkWorkersFile 
    "C:/Program Files/Autodesk Infrastructure Web Server Extensions 2015/
    Apache2/conf/workers.properties"
 
# Where to put jk logs
JkLogFile 
    "C:/Program Files/Autodesk Infrastructure Web Server Extensions 2015/
    Apache2/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel    info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat     "%w %V %T"
# Send everything for context /examples to worker named 
# worker1 (ajp13)
JkMount /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/* worker1
 
Redirect /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerajax/ 
    http://<Hostname>:<Port>/Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/ajaxviewer.jsp

<ApacheHome> を Apache のルート フォルダに置き換えます。

LoadModule    jk_module  modules/mod_jk.so
 
JkWorkersFile "<ApacheHome>/conf/workers.properties"
 
# Where to put jk logs
JkLogFile     "<ApacheHome>/logs/mod_jk.log"
# Set the jk log level [debug/error/info]
JkLogLevel    info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat     "%w %V %T"
# Send everything for context /examples to worker 
# named worker1 (ajp13)
JkMount /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/* worker1
 
Redirect /Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerajax/ 
    http://<Hostname>:<Port>/Autodesk/Autodesk Infrastructure Map Server 2015/mapviewerjava/ajaxviewer.jsp