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.