Changes between Version 9 and Version 10 of ConfigureGuide22Windows
- Timestamp:
- 08/04/10 17:02:36 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConfigureGuide22Windows
v9 v10 6 6 7 7 == Apache2 == 8 9 '''Note''' If you are using Apache as the web server, it is assumed that you should know how to configure apache with an web application, otherwise, please read [http://httpd.apache.org/docs/2.2/ Apache Documentation] first. 10 8 11 1. Download and Install Apache2.2.16 for Windows from [http://www.apachelounge.com/download/ Here]. Unzip the downloaded file to anywhere, in this document, we unzip it to c:\Apache2 9 12 10 Apache is also available under svn/mgdev/Oem/LinuxApt, which can be copy and pasted to anywhere . apache.org does not submit any build for 64-bit machines, try [http://www.blackdot.be/?inc=apache/binaries this site] to obtain a binary 64-bit build.13 Apache is also available under svn/mgdev/Oem/LinuxApt, which can be copy and pasted to anywhere, but do this only if you know what you are doing. apache.org does not submit any build for 64-bit machines, try [http://www.blackdot.be/?inc=apache/binaries this site] to obtain a binary 64-bit build. 11 14 12 15 2. add the following lines to httpd.conf 13 16 {{{ 14 17 LoadModule mod_mgmapagent modules/mod_mgmapagent.so 15 include conf/mapguide.conf16 }}}17 18 18 3. Create another config file, name it ''mapguide.conf'' with the following contents(change the path accordingly for your system)19 {{{20 19 Alias /mapguide "c:/mapguideopensource-2.2-beta1/Web/www" 21 20 <Directory "c:/mapguideopensource-2.2-beta1/Web/www"> … … 30 29 </Directory> 31 30 }}} 32 '''''Note:''''' Attached are sample conf files. 31 32 '''Note:''' ''mod_mgmapagent'' is the module name for mapguide agent, which is hardcoded in source code, so it can't be anything else 33 33 34 34 4. start apache http server 35 {{{ 36 cd <apache bin folder> 37 httpd.exe --help 38 httpd.exe -k install 39 httpd.exe -k start 40 }}} 35 41 36 42 5. Troubleshooting 37 43 38 visit [http://tud.at/programm/apache-ssl-win32-howto.php3 this site] for common apache errors 44 * visit [http://tud.at/programm/apache-ssl-win32-howto.php3 this site] for common apache errors 45 * ''HTTP 403: you don't permission to /mapguide/mapadmin/login.php'' or ''anything site under /mapguide/<blabla>'' : this error means your access setting in apache config file is wrong. 46 * browser opens to the source code of php file instead of a web page: this error means Apache is not configured correctly to use PHP. 39 47 40 48 == Tomcat ==