user-pic

Single Install with Mutliple Domains CGIPath, Alias and ScriptAlias Setup

Vote 0 Votes

I just bought a new MT PRO license with the thought of doing one install for multiple domains. I have MT PRO installed with all the needed perl modules. I'm running Apache 1.3.41 on a Mac OS X 10.4.11 server.

I'm going to have several sites each with their own domain. Naturally by doing one install I have one management interface to log into.

For the second domain the alias for mt-static files is working, however the cgi execution isn't working using the ScriptAlias. My log files indicate the following error suggesting ScriptAlias isn't mapping to the right directory.

[error] script not found or unable to stat: /WebServer/Documents/mtpro/SecondDomainf/mt-cp.cgi

Below is the relevant setup information. For purposes of this query to the group I've changed the domains and renamed the paths to suit.

Can anyone help me?

COMMON FILE SETUP:

mt-config.cgi
- set CGIPath to /
- No StaticWebPath or StaticFilePath set


DOMAIN 1 SETUP: www.MainMTInstall.com

ServerName MainMTInstall.com
ServerAlias www.MainMTInstall.com
DocumentRoot "/WebServer/Documents/mtpro"

Alias /mt-static "/WebServer/Documents/mtpro/mt-static"

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all


ScriptAlias /mtpro "/WebServer/Documents/mtpro"

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all


DOMAIN 2 SETUP: www.SecondDomainInstall.com

ServerName SecondDomainInstall.com
ServerAlias www.SecondDomainInstall.com
DocumentRoot "/Volumes/HD2/WebServer/Documents/mtpro/SecondDomain"

Alias /mt-static "/WebServer/Documents/mtpro/mt-static"

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all

ScriptAlias /mtpro "/WebServer/Documents/mtpro"

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • Wow, I must have posted either a tough question or a stupid one :-) Which is it? Anyone care to tackle the issue.

  • This is my first post to MT as I am a new user with the same intentions. I just installed the script and I am so lost. I have been a Wordpress user and wanted something different. I Hope that this community is more responsive as I must say, "I have one foot in and one hanging outside when it comes to my overall view of MT." Good luck Mark.

  • Does the mtpro directory contain you mt scripts?

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1195 3842

Last Topic: Comment form customization by anisa on Feb 8, 2010

60 184

Last Topic: Dynamic Publishing - Blank Screen by Sivaram M on Dec 15, 2009

955 2987

Last Topic: MT5 - Cookie Problems by Dave Cross on Feb 9, 2010

68 213

Last Topic: How to add Custom Fields by gregoryttp on Feb 5, 2010

19 67

Last Topic: Custom main index page by Richard on Feb 7, 2010

42 169

Last Topic: I want to write my own wordpress plugin by Xarzu on Jan 31, 2010

11 21

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

52 178

Last Topic: Assets - No options by Chelle on Feb 5, 2010

code.sixapart.com

128 444

Last Topic: ActionStream with Movable Type 5.01 by Parneix on Jan 24, 2010

154 468

Last Topic: URGENT! Help needed w/ Virus by PhilContrino on Feb 1, 2010