[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring Apache for Midgard?



Quoth Bruce Best (CRO):
> I am in the process of trying to set up Midgard (www.midgard-project.org) on
> my Debian Woody machine. Midgard, for those who don't know, is a content
> management system that uses PHP, MySQL and Apache on Linux. I am using the
> current .debs from the Midgard site.

If these are .debs that they've rolled themselves, without making
efforts to integrate their work with that of the official Debian
packages, then it is quite hard for other Debian Apache users to know
what those packages are doing and how to help you ...

> The setup seems (to me, anyway) quite complex, and requires an awful lot of
> hacking of the apache and other config files. Unfortunately, the
> instructions (http://www.midgard-project.org/manual/en/x252.php) appear to
> be dealing with httpd.conf files that bear little resemblance to those
> included in Apache (1.3.24) on Woody. For instance, the Midgard instructions
> seem to expect that there will be many "AddModule" lines, such as
> 
> AddModule mod_php4.c
> 
> However, there are no AddModule lines in the default /etc/apache/httpd.conf
> file on my Woody system. 

Debian's Apache+php4 is configured with

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

in /etc/apache/httpd.conf ...

AddModule and LoadModule are not synonymous, check the Apache 1.3 manual
that accompanies your installation (/usr/share/doc/apache/manual/) or on
the httpd.apache.org website.

> I haven't managed to get Midgard running yet, and I feel far from confident
> that I will be able to figure out all the changes I need to make to get this
> working. 
> 
> Does anyone have any suggestions on installing Midgard on Woody? 

If the Midgard has supplied some .deb packages, then presumably
someone's made some effort at getting it to work.  Look at the age of
the packages.  They may be intended for installation on Debian potato
(stable) rather than woody (testing).  Or they may have been generated
from rpm or tar.gz distribution files with alien - and possibly never
tested on a Debian system.  I'd advise you to make a backup copy of your
httpd.conf file, go through each of the changes that Midgard suggest,
and check each of them against what the Apache manual says.  Some of
them may not be in the Debian config because they are already on by
default, for example.

Andrew.

-- 
Andrew Shugg <andrew@neep.com.au>                   http://www.neep.com.au/

"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there?  Well I'd like to meet him.  I could do with a good laugh."


-- 
To UNSUBSCRIBE, email to debian-apache-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: