Changeset 22483 for main/trunk/greenstone2
- Timestamp:
- 2010-07-22T17:08:16+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/packages/apache-httpd/README.txt
r22482 r22483 1 This Readme explains the customisations made to binary files and zipped files in this folder. 1 ***************************************** 2 README: 3 runtime-src/packages/apache-httpd 4 ***************************************** 2 5 3 * The first is the Apache Httpd 2, whose unmodified source code was originally being compiled up on Linux alone. The first greenstone-modified version was added to include windows makefiles to compile these. 6 This Readme explains the customisations made to binary files and 7 zipped files in this folder. 4 8 5 9 6 (A) FILE: httpd-2.2.11-gs.tar.gz 7 Apache Httpd 2 src code with modifications for Greenstone 10 * The first is the Apache Httpd 2, whose unmodified source code was 11 originally being compiled up on Linux alone. The first 12 greenstone-modified version was added to include windows makefiles 13 to compile these. 8 14 9 This Readme file was originally created on July 22. The dates in the commit messages below, upto and including point 6, are relative to this. 15 16 ******************************************************************************************** 17 (A) FILE: httpd-2.2.11-gs.tar.gz: Apache Httpd 2 src code with 18 modifications for Greenstone. 19 ******************************************************************************************** 20 21 This Readme file was originally created on 22 July 2010. The dates in 22 the commit messages below, upto and including point 6, are relative to 23 this. Some more notes to do with Apache Httpd and how Greenstone 24 compiles and installs (including upon Installation of Greenstone) are 25 at the bottom. 26 27 28 The httpd tar.gz file works with the files httpd.conf.in for linux and 29 windows-httpd.conf.in for windows. 30 http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/windows-httpd.conf.in?rev=20171 31 Revision 20171, 17.6 KB (checked in by ak19, 12 months ago) explains: 32 "Windows httpd.conf.in file is not the same as the one for linux and 33 darwin (Mac), since one gets the Modules Already Loaded message on 34 Linux if the existing httpd.conf.in was interchanged with the Windows 35 one." 10 36 11 37 12 38 1. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20169 13 39 14 Revision 20169, 7.9 MB 40 Revision 20169, 7.9 MB (checked in by ak19, 12 months ago) 15 41 16 Adding the customised apache web server source folder: a linux source release plus apache's official windows makefiles. Now it compiles up on both OS. 42 Adding the customised apache web server source folder: a linux source 43 release plus apache's official windows makefiles. Now it compiles up 44 on both OS. 17 45 18 46 * Property svn:mime-type set to application/octet-stream … … 21 49 2. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20349 22 50 23 Revision 20349, 7.9 MB 51 Revision 20349, 7.9 MB (checked in by ak19, 11 months ago) 24 52 25 Dr Bainbridge fixed the configure.in (and generated the configure file from it) so that it generates the libexpat.so.0 file it needs. This way the apache web server won't look elsewhere for the so file and perhaps find an incompatible version of it. 53 Dr Bainbridge fixed the configure.in (and generated the configure file 54 from it) so that it generates the libexpat.so.0 file it needs. This 55 way the apache web server won't look elsewhere for the so file and 56 perhaps find an incompatible version of it. 26 57 27 58 * Property svn:mime-type set to application/octet-stream … … 30 61 3. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20668 31 62 32 Revision 20668, 7.9 MB 63 Revision 20668, 7.9 MB (checked in by davidb, 10 months ago) 33 64 34 better to include builtin libiconv support. Should prevent .so version conflicts on Mac 65 better to include builtin libiconv support. Should prevent .so version 66 conflicts on Mac 35 67 36 68 * Property svn:mime-type set to application/octet-stream … … 39 71 4. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20850 40 72 41 Revision 20850, 7.7 MB 73 Revision 20850, 7.7 MB (checked in by ak19, 9 months ago) 42 74 43 Teaches the apache web server being compiled up where the static libiconv lib file, libiconv.a, is to be found (which greenstone would have compiled up during the greenstone configure stage). The with-iconv flag is set in runtime-src/packages/configure file to point to the common-src/packages/iconv folder wherein the lib folder contains the generated libiconv.a file. The apache server tar file is updated as well: no longer does it add the with-iconv flag explicitly since this is now already set at a higher up level and is passed down to it. 75 Teaches the apache web server being compiled up where the static 76 libiconv lib file, libiconv.a, is to be found (which greenstone would 77 have compiled up during the greenstone configure stage). The 78 with-iconv flag is set in runtime-src/packages/configure file to point 79 to the common-src/packages/iconv folder wherein the lib folder 80 contains the generated libiconv.a file. The apache server tar file is 81 updated as well: no longer does it add the with-iconv flag explicitly 82 since this is now already set at a higher up level and is passed down 83 to it. 44 84 45 85 * Property svn:mime-type set to application/octet-stream … … 47 87 48 88 5. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20892 49 Revision 20892, 7.7 MB (checked in by oranfry, 9 months ago) 89 90 Revision 20892, 7.7 MB (checked in by oranfry, 9 months ago) 50 91 51 92 the change I think will force apr not to use sendfile … … 57 98 (http://trac.greenstone.org/browser/main/trunk/greenstone2/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz) 58 99 59 Revision 20893, 7.9 MB 100 Revision 20893, 7.9 MB (checked in by ak19, 9 months ago) 60 101 61 Dr Bainbridge updated srclib/apr/configure.in so that sendfile is set to 0 for Darwin (Mac) to tell Darwin systems that we won't be working with calls to sendfile, since Tiger OS does not have sendfile even though we are compiling on Leopard which does. 102 Dr Bainbridge updated srclib/apr/configure.in so that sendfile is set 103 to 0 for Darwin (Mac) to tell Darwin systems that we won't be working 104 with calls to sendfile, since Tiger OS does not have sendfile even 105 though we are compiling on Leopard which does. 62 106 63 107 * Property svn:mime-type set to application/octet-stream 64 108 109 110 111 ***************************************************************** 112 NOTES ON COMPILING AND INSTALLING APACHE HTTPD 2.2 FOR GREENSTONE 113 ***************************************************************** 114 115 The Relocatable Apache web server: 116 117 118 A) RELEASE KIT needs to run: 119 120 1. ./configure --enable-apache-httpd 121 2. make 122 3. make install 123 4. make apache-for-dist 124 125 126 B) INSTALLER needs to: 127 128 1. Copy the compiled up apache-httpd folder and put it into its 129 destination for installation: 130 GSDLHOME/apache-httpd. 131 132 X 2. Not necessary: 133 cd into there and into the linux (=GSDLOS) folder in there: 134 cd <GSDLHOME>/apache-httpd/linux 135 136 3. Run the script install-bindist.sh (in apache-httpd/<GSDLOS> folder) 137 passing as argument: <GSDLHOME>/apache-httpd/linux 138 139 4. Now it should be good to go: can run the webserver after 140 configuring the port (in linux/conf/httpd.conf) as follows 141 ./bin/apachectl start 142 143 - Change port in httpd.conf file 144 - run gs2-server.sh 145
Note:
See TracChangeset
for help on using the changeset viewer.