[22483] | 1 | *****************************************
|
---|
| 2 | README:
|
---|
| 3 | runtime-src/packages/apache-httpd
|
---|
| 4 | *****************************************
|
---|
[22482] | 5 |
|
---|
[22483] | 6 | This Readme explains the customisations made to binary files and
|
---|
| 7 | zipped files in this folder.
|
---|
[22482] | 8 |
|
---|
| 9 |
|
---|
[22483] | 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.
|
---|
[22482] | 14 |
|
---|
| 15 |
|
---|
[22483] | 16 | ********************************************************************************************
|
---|
| 17 | (A) FILE: httpd-2.2.11-gs.tar.gz: Apache Httpd 2 src code with
|
---|
| 18 | modifications for Greenstone.
|
---|
| 19 | ********************************************************************************************
|
---|
[22482] | 20 |
|
---|
[22483] | 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."
|
---|
| 36 |
|
---|
| 37 |
|
---|
[22482] | 38 | 1. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20169
|
---|
| 39 |
|
---|
[22483] | 40 | Revision 20169, 7.9 MB (checked in by ak19, 12 months ago)
|
---|
[22482] | 41 |
|
---|
[22483] | 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.
|
---|
[22482] | 45 |
|
---|
| 46 | * Property svn:mime-type set to application/octet-stream
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | 2. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20349
|
---|
| 50 |
|
---|
[22483] | 51 | Revision 20349, 7.9 MB (checked in by ak19, 11 months ago)
|
---|
[22482] | 52 |
|
---|
[22483] | 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.
|
---|
[22482] | 57 |
|
---|
| 58 | * Property svn:mime-type set to application/octet-stream
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 | 3. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20668
|
---|
| 62 |
|
---|
[22483] | 63 | Revision 20668, 7.9 MB (checked in by davidb, 10 months ago)
|
---|
[22482] | 64 |
|
---|
[22483] | 65 | better to include builtin libiconv support. Should prevent .so version
|
---|
| 66 | conflicts on Mac
|
---|
[22482] | 67 |
|
---|
| 68 | * Property svn:mime-type set to application/octet-stream
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 | 4. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20850
|
---|
| 72 |
|
---|
[22483] | 73 | Revision 20850, 7.7 MB (checked in by ak19, 9 months ago)
|
---|
[22482] | 74 |
|
---|
[22483] | 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.
|
---|
[22482] | 84 |
|
---|
| 85 | * Property svn:mime-type set to application/octet-stream
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 88 | 5. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20892
|
---|
| 89 |
|
---|
[22483] | 90 | Revision 20892, 7.7 MB (checked in by oranfry, 9 months ago)
|
---|
| 91 |
|
---|
[22482] | 92 | the change I think will force apr not to use sendfile
|
---|
| 93 |
|
---|
| 94 | * Property svn:mime-type set to application/octet-stream
|
---|
| 95 |
|
---|
| 96 |
|
---|
| 97 | 6. http://trac.greenstone.org/browser/gsdl/trunk/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz?rev=20893
|
---|
| 98 | (http://trac.greenstone.org/browser/main/trunk/greenstone2/runtime-src/packages/apache-httpd/httpd-2.2.11-gs.tar.gz)
|
---|
| 99 |
|
---|
[22483] | 100 | Revision 20893, 7.9 MB (checked in by ak19, 9 months ago)
|
---|
[22482] | 101 |
|
---|
[22483] | 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.
|
---|
[22482] | 106 |
|
---|
| 107 | * Property svn:mime-type set to application/octet-stream
|
---|
| 108 |
|
---|
[22483] | 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 |
|
---|