3.0-rc1 without virtual host?

Author Message

Adolfo Barragán

Thursday 19 December 2002 3:51:17 am

How can I configure ezPublis 3 "site access" if I can't use virtual host?

In ezPublish 2.2 there are "index.php" for user access and "index_admin.php" for admin access, but in release 3 I view only "index.php".

I'm starting to build a site (locally on Windows) and I don't know if my ISP (linux) allow virtual hosting, so I prefer not use it. It is wrong?

Adolfo Barragán

Thursday 19 December 2002 11:25:01 am

I reply myself because I found the solution (I suposse)

1.
Install and follow the setup instructions of ezpublish

2.
I changed the following lines in file [ez_root]/site.ini.php
[SiteAccessSettings]
MatchOrder=index;uri;host
RequiredUserLogin=false

[PortAccessSettings]
delete or comment both lines

[SiteSettings]
SiteUrl=localhost/myeZsite/index.php
SiteAdminUrl=localhost/myeZsite/index_admin.php
IndexPage=/content/view/full/26
DefaultPage=/content/view/full/26

3.
I changed the following lines in [ez_root]/siteaccess/admin/site.ini.append:
[SiteAccessSettings]
RequireUserLogin=true

[SiteSettings]
IndexPage=/content/view/sitemap/2
DefaultPage=/content/view/sitemap/2

4.
In [ez_root] I copy the file "index.php" to "index_admin.php" and I changed the following line

//Initialize basic settings, such as vhless and separators
//ezSys::init( 'index.php' );
ezSys::init( 'index_admin.php' )

And it seem Ok.

Is this wrong? I need make other changes?

Kind regards
Adolfo barragán

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 18 2025 10:36:41
Script start
Timing: Jan 18 2025 10:36:41
Module start 'layout'
Timing: Jan 18 2025 10:36:41
Module start 'content'
Timing: Jan 18 2025 10:36:42
Module end 'content'
Timing: Jan 18 2025 10:36:42
Script end

Main resources:

Total runtime0.9000 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.1484152.6406
Module start 'layout' 0.00580.0031 741.789139.4766
Module start 'content' 0.00890.8895 781.2656435.0703
Module end 'content' 0.89840.0016 1,216.33598.1484
Script end 0.9000  1,224.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3857160.0002
Check MTime0.00140.1537160.0001
Mysql Total
Database connection0.00080.092610.0008
Mysqli_queries0.850894.5306520.0164
Looping result0.00050.0596500.0000
Template Total0.864496.020.4322
Template load0.00230.255620.0012
Template processing0.862195.780920.4310
Template load and register function0.00020.026410.0002
states
state_id_array0.00160.172310.0016
state_identifier_array0.00090.101020.0005
Override
Cache load0.00190.2149390.0000
Sytem overhead
Fetch class attribute can translate value0.00110.118210.0011
Fetch class attribute name0.00110.124120.0006
XML
Image XML parsing0.00010.014010.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0751100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs