Hello,
While packaging mod_webkit for Debian installation I've added an info
file to ease installation with Apache. (See attached file)
The post install script includes the following lines:
apacheconf=/etc/apache/httpd.conf
if ! grep -q "^WKServer" $apacheconf; then
echo >>$apacheconf "WKServer localhost 8086"
/usr/sbin/apacheconfig --force-modules --fullauto || true
fi
The idea is that after compiling and installing the module and info file
in /usr/lib/apache/1.3/ I need only to add the right keywords to the
apache configuration files and call /usr/sbin/apacheconfig to detect the
keywords and load the module in the config file.
A minor simplification for a human, but not a small one when it's done
in install scripts.
--
Baruch Even
http://baruch.ev-en.org/
LoadModule: webkit_module /usr/lib/apache/1.3/mod_webkit.so
Directives:
WKServer
Description: Glue for Webwares WebKit