Midgard Apache Module

Mod_midgard is the first of the required DSO Apache modules. It is a dynamically loaded module of Apache. As such, it's configuration will need to know the location of your Apache httpd server directory. It also requires midgard-lib already installed before it can be compiled.

Apart from this, installation seems to be fairly simple.


	
$ cd mod_midgard-1.4 (directory containing mod_midgard source)

$ ./configure --with-midgard=/usr/local/midgard --with-mysql=</usr/local/mysql>
  --with-expat=</usr/local> --with-apxs=</usr/local/apache/bin/apxs>
	
	

Again, this configuration reflects the directories in which we installed the MySQL and Midgard Libraries (installed in /usr/local/mysql and /usr/local/midgard). The configure script also needs to know the location of the expat libraries and the apxs file. It uses the apxs file to build itself as a dynamic shared object of Apache.


	
$ make

# make install