Forums / Developer / Making a dummy? / Comment40755

Author Topic

Trond Åge Kvalø

Tuesday 08 June 2004 5:58:13 am

Comment40755

Ok, here's what I've done so far.

I've copied all files from ...../htdocs/lms to ....../htdocs/ekurs

I've created a new database called ekurs where I've inserted all the tables and data from the live site using mysqldump --opt > dumpfile and mysql < dumpfile

I've added the following lines to my Vhost.conf file:

<VirtualHost my_servers_IP-adress>
ServerName ekurs.atlantia.no
DocumentRoot ....../htdocs/ekurs
</VirtualHost>

<VirtualHost my_servers_IP-adress>
ServerName admin.atlantia.no
DocumentRoot ....../htdocs/ekurs
</VirtualHost>

Here's my site access settings in override/site.ini.append.php

[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=ekurs.atlantia.no;kompetanseportalen
HostMatchMapItems[]=admin.atlantia.no;kompetanseportalen_admin
AvailableSiteAccessList[]=kompetanseportalen
AvailableSiteAccessList[]=kompetanseportalen_admin

In the settings directory I have two subfolders named kompetanseportalen and kompetanseportalen_admin.

Here's some of my kompetanseportalen/site.ini.append:
[SiteSettings]
IndexPage=/content/view/full/2
LoginPage=embedded
SiteName=Kompetanseportalen
SiteURL=index.php

[SiteAccessSettings]
RequireUserLogin=false

[DesignSettings]
SiteDesign=kompetanseportalen

[ContentSettings]
TranslationList=
ViewCaching=disabled
ViewTemplates

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
Database=ekurs
User=*****
Password=*******
Charset=iso-8859-1
Socket=disabled

[FileSettings]
VarDir=var/kompetanseportalen

Here's some of my kompetanseportalen_admin/site.ini.append:
[SiteSettings]
DefaultPage=/content/view/full/2
LoginPage=custom
SiteName=Kompetanseportalen_admin
SiteURL=lms/index.php

[SiteAccessSettings]
RequireUserLogin=true

[DesignSettings]
SiteDesign=admin

[ContentSettings]
TranslationList=
ViewCaching=disabled
ViewTemplates

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
Database=ekurs
User=*********
Password=**********
Charset=iso-8859-1
Socket=disabled

[FileSettings]
VarDir=var/kompetanseportalen

My current problem is that the admin site at admin.atlantia.no seems to work, but not ekurs.atlantia.no does not. It only shows a blank page. Can anyone see what's wrong?

I believe it has something to do with eZ because my ISP has told me that the server is configured correctly.

Please help anyone. I think this might be an issue of not seeing the forest because of the trees so any outside help is deeply appreciated.

Best regards
trondåge

trondåge