eZ Community » Forums » Install & configuration » 3.0-rc1 without virtual host?
expandshrink

3.0-rc1 without virtual host?

3.0-rc1 without virtual host?

Thursday 19 December 2002 12:51:17 pm - 1 reply

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?

Thursday 19 December 2002 8:25:01 pm

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from