Changes

From SME Server
Jump to navigationJump to search
140 bytes added ,  02:07, 19 April 2007
Line 31: Line 31:  
In the point "modify 50DirectoryIndex00 to include index.pl" not modify template. Instead copy this template to customs-template dir, and make the necesary changes under customs-template files.
 
In the point "modify 50DirectoryIndex00 to include index.pl" not modify template. Instead copy this template to customs-template dir, and make the necesary changes under customs-template files.
 
--[[User:PicsOne|PicsOne]] 14:12, 11 April 2007 (EDT)
 
--[[User:PicsOne|PicsOne]] 14:12, 11 April 2007 (EDT)
 +
 
=====================================
 
=====================================
 
I would if I knew how
 
I would if I knew how
Line 225: Line 226:  
OK, what I did was make some changes to the template fragements and also made modifications to metadot.conf in /opt/metadot/etc for virtual host. This has now allowed both domains access without interfering with each other
 
OK, what I did was make some changes to the template fragements and also made modifications to metadot.conf in /opt/metadot/etc for virtual host. This has now allowed both domains access without interfering with each other
   −
[metadot1]
+
[metadot1]
name = dbi:mysql:metadotdb
+
name = dbi:mysql:metadotdb
user = metadot
+
user = metadot
pass = xxxxxx
+
pass = xxxxxx
dbtype = MySQL
+
dbtype = MySQL
public_uploads_dir = /opt/metadot/sitedata/public
+
public_uploads_dir = /opt/metadot/sitedata/public
public_uploads_location = /public
+
public_uploads_location = /public
jsform_type = Chain
+
jsform_type = Chain
jsform_filter = Checker|Dialog|Focus
+
jsform_filter = Checker|Dialog|Focus
controller_type = Metadot::MetadotController
+
controller_type = Metadot::MetadotController
skin_template_dir = /opt/metadot/sitedata/skins
+
skin_template_dir = /opt/metadot/sitedata/skins
servers = <<SERVERS
+
servers = <<SERVERS
localhost
+
localhost
SERVERS
+
SERVERS
 
+
[metadot2]
+
[metadot2]
name = dbi:mysql:domain2db
+
name = dbi:mysql:domain2db
user = domain2
+
user = domain2
pass = xxxxxx
+
pass = xxxxxx
dbtype = MySQL
+
dbtype = MySQL
public_uploads_dir = /opt/outpost/site1/sitedata/public
+
public_uploads_dir = /opt/outpost/site1/sitedata/public
public_uploads_location = /public
+
public_uploads_location = /public
jsform_type = Chain
+
jsform_type = Chain
jsform_filter = Checker|Dialog|Focus
+
jsform_filter = Checker|Dialog|Focus
controller_type = Metadot::MetadotController
+
controller_type = Metadot::MetadotController
skin_template_dir = /opt/outpost/site1/sitedata/skins
+
skin_template_dir = /opt/outpost/site1/sitedata/skins
servers = <<SERVERS
+
servers = <<SERVERS
localhost
+
localhost
domain2.com.au
+
domain2.com.au
www.domain2.com.au
+
www.domain2.com.au
SERVERS
+
SERVERS
      Line 288: Line 289:  
  </Directory>
 
  </Directory>
   −
====================================================
+
 
 
'''Domain 2'''
 
'''Domain 2'''
   Line 316: Line 317:  
     DirectoryIndex      index.pl
 
     DirectoryIndex      index.pl
 
  </Directory>
 
  </Directory>
=======================================================
+
 
 +
== Metadot Howto Updated ==
 +
 
 +
I have updated the howto and have tested it on a production server using 2 domains,so far so good, also tested on a file server and works good.
 +
 
 +
Thanks to those who have helped
 +
 
 +
Russell
276

edits

Navigation menu