I don't use the configurations generated automatically by datagard as firstly I cannot use port 8001, I have to use port 8080 and secondly I have several configurations of similar names commented out but used for testing that tend to get screwed up so the conf files are brought together by hand.
The two configurations are for apache 1. But I forgot to add a couple of lines present at the top of my vhosts.conf file. MidgardParser latin1 MidgardTemplate phpelements.xml AddType application/x-httpd-php-midgard .mgd MidgardPageCacheDir /var/local/cache/midgard The configuration is only for live port 80 sites. An almost identical copy is made for my staging sites on port 8080. The entire repligard.conf file is: <?xml version="1.0" encoding="ISO-8859-1" ?> <!-- $Id: repligard.conf.in,v 1.5 2001/03/23 18:53:53 ab Exp $ --> <!DOCTYPE Repligard [ <!ELEMENT Repligard (database?,login?,replicate?)> <!ELEMENT database EMPTY> <!ATTLIST database schema CDATA #REQUIRED> <!ATTLIST database name CDATA #REQUIRED> <!ATTLIST database username CDATA #REQUIRED> <!ATTLIST database password CDATA #REQUIRED> <!ATTLIST database encoding CDATA #REQUIRED> <!ATTLIST database blobdir CDATA #REQUIRED> <!ELEMENT login EMPTY> <!ATTLIST login username CDATA #REQUIRED> <!ATTLIST login password CDATA #REQUIRED> <!ELEMENT replicate (resource*)> <!ATTLIST replicate all (yes|no) 'no'> <!ELEMENT resource EMPTY> <!ATTLIST resource type CDATA #IMPLIED> <!ATTLIST resource id CDATA #IMPLIED> <!ATTLIST resource guid CDATA #IMPLIED> ]> <Repligard xmlns="http://www.midgard-project.org/repligard/1.4"> <!-- Database description --> <!-- Path to optionally compressed Repligard schema file --> <!-- Note that if you want to replicate whole sitegroup, then --> <!-- religard_withsg.xml schema should be referenced here --> <!-- instead of repligard.xml --> <database schema="/usr/local/share/midgard/repligard_withsg.xml" name="midgard" username="midgard" password="midgard" encoding="ISO-8859-1" blobdir="/var/local/lib/midgard/blobs/midgard" /> <!-- Login account description for Repligard operation --> <!-- Always use 'username+sitegroup' when logging into specific sitegroup --> <!-- because there is no information elsewhere for Repligard to choose --> <!-- correct sitegroup if it is unspecified --> <!-- Sitegroup administrators should login as 'username*sitegroup' --> <login username="admin" password="mypassword" /> <!-- Use <include name="filename" /> to include another Repligard config file --> <!-- Description of the exportable resources --> <!-- <replicate all="yes"/> --> <!-- replicate section can contain references for additional resource trees --> <!-- that should be replicated. In this case attribute 'all' shouldn't be used --> <!-- and section itself looks like: --> <!-- <replicate> --> <!-- First form: referencing resource by its local ID and type (table name) from schema file --> <!-- <resource id="some-local-id-of-resource" type="name-of-resource" /> --> <!-- Second form: referencing resource by its globally unique ID (GUID) --> <!-- <resource guid="some-guid-of-resource" /> --> <!-- </replicate> --> </Repligard> I have almost completed the experiment in moving to apache 2, its just taking time as I have to recompile apache 2, php and all associated files. Should have the results this afternoon. Cheers Mike ---------------------------------------------------- Michael Ross - Pan Leeds Web Developer Health Informatics Service����� Tel: (0113) 305 7417 2nd Floor������ ������� ������� Fax: (0113) 305 7398 North West House West Park Ring Road West Park Leeds LS16 6QG --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
