Fügen Sie die folgenden Deklarationen am Ende der Datei httpd.conf hinzu.
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>
Ersetzen Sie <WebDir> durch den eigentlichen Pfad.
Fügen Sie Folgendes zur Konfigurationsdatei hinzu. Diese Deklarationen sind für den Tomcat-Connector erforderlich. Ersetzen Sie <Hostname>:<Anschluss> durch den richtigen Namen und Anschluss. localhost funktioniert für die Umleitung nicht.
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
Ersetzen Sie <ApacheHome> durch den Apache-Stammordner.
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