Forums / Install & configuration / virtual host question,thanks

virtual host question,thanks

Author Message

qian chao

Tuesday 21 February 2006 11:30:39 pm

Hi,
I followed the instruction of 'virtual host setup' in the document,and it works

but how can I initialize the admin user password manually ?
and how to set the 'site type' and 'site functionality' as the web setup wizard do?
Thanks a lot.

Ɓukasz Serwatka

Wednesday 22 February 2006 3:12:38 am

Not sure what are you exactly want to do, but:

1. Password you can change in admin interface. Login as admin user, and on the right panel click "Change password".
2. You can add more packages and change design in admin interface. Look on Design->Look&Feel (Choose theme) and Setup->Packages.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

qian chao

Wednesday 22 February 2006 6:10:48 am

Many thanks; my idea is to build some hosting solution based on ezpublish for corporate website.
The scenario is when someone applies for a website. Some script can run on the backend to build a website for the customer. I am trying it on eapublish , till now , I can not figure out some script that can create the admin user password(the default password 'publish' is not good enough) , choose 'site type' and 'site functionality' just as the web wizard does.

My override/site.ini.append.php like this,

[SiteAccessSettings]

AvailableSiteAccessList[]=n1_user
AvailableSiteAccessList[]=n1_admin
AvailableSiteAccessList[]=n1_user
AvailableSiteAccessList[]=n1_admin

HostMatchMapItems[]=www.n1.com;n1_user
HostMatchMapItems[]=admin.n1.com;n1_admin
HostMatchMapItems[]=www.n2.com;n2_user
HostMatchMapItems[]=admin.n2.com;n2_admin

I just find another problem, when I login as admin user,choose 'design' on the menu, there is a list of 'SiteAccess' ,but it list All the sites. I mean it should only list the site that the admin user belong to , isn't it ?
Thanks