Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleCompiling Apache 2.4 WebObjects Adaptor
$ sudo yum install httpd httpshttpd-devdevel
$ # get the latest wonder source
$ git clone https://github.com/wocommunity/wonder.git
$ cd wonder/Utilities/Adaptors
$ # thanks to alextu for these commands to fix the make.config file
$ # (from his docker recipe)
$ sed -ri 's/ADAPTOR_OS = MACOS/ADAPTOR_OS = LINUX/g' make.config
$ sed -ri 's/ADAPTORS = CGI Apache2.2/ADAPTORS = Apache2.4/g' make.config
$ make
$ # move the compiled module to the modules directory (check your apache config
$ # but the default on CentOS7 is /usr/lib64/httpd/modules
$ cp Apache2.4/mod_WebObjects.so /usr/lib64/httpd/modules/

...