Sunday 10 August 2003 6:42:22 am
The hosting provider I'm trying to set up EZPublish on uses CPanel (http://www.cpanel.net) to give customers like me control over various aspects of their accounts. By logging in to my control panel, CPanel, I can create a sub-domain such as "admin.maindomain.com". This creates a sub directory with it's own CGI bin, and I can also forward this sub-domain to anywhere on my main domain such as "www.maindomain.com/admin/". What I can't understand is... are these sub-domains the "virtual-hosts" which EZPublish likes to use? I've installed EZPublish 3.1, and when I go to "www.maindomain.com/ezpublish/" the site comes up with the demo data (very nice!), but I can't get "admin.maindomain.com" to work. This is what I've tried so far.... 1. Set up su-domain "admin.maindomain.com" through CPanel control panel. 2. Edited "settings/override/site.ini.append" with these settings:
[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.maindomain\.com$ HostMatchSubtextPost=\.maindomain\.com 3. Created new directory "www" in "settings/siteaccess/", "admin" directory already exists. 4. Copy "site.ini.append" from "settings/siteaccess/user" to "settings/siteaccess/www" After all this I try "admin.maindomain.com" and all I get is a view of the file directory of the new sub-domain (index.html and cgi-bin directory). If I forward "admin.maindomain.com" to "www.maindomain.com/ezpublish/" I get the demo site, but no sign of the admin pages. What am I doing wrong? Is my CPanel created su-domain a "virtual host"? Where should I set my sub-domain to forward to?
|