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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:23:08
Script start
Timing: Jan 19 2025 07:23:08
Module start 'layout'
Timing: Jan 19 2025 07:23:08
Module start 'content'
Timing: Jan 19 2025 07:23:08
Module end 'content'
Timing: Jan 19 2025 07:23:08
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.2734152.6406
Module start 'layout' 0.00590.0026 741.914139.4766
Module start 'content' 0.00860.0062 781.390689.3516
Module end 'content' 0.01480.0022 870.742234.3047
Script end 0.0170  905.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.0840140.0002
Check MTime0.00137.5972140.0001
Mysql Total
Database connection0.00084.568410.0008
Mysqli_queries0.003017.619230.0010
Looping result0.00000.071310.0000
Template Total0.001710.210.0017
Template load0.00095.319310.0009
Template processing0.00084.885810.0008
Override
Cache load0.00063.507110.0006
General
dbfile0.00063.736480.0001
String conversion0.00000.035040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs