Forums / Install & configuration / URL Translation

URL Translation

Author Message

Claudius Frank

Friday 09 May 2003 2:36:38 am

Hi all,

I am trying to install ezpublish302 in an subfolder named "ez", on an Linux, nVH.
During the installation I didn't have any problem, but after the installation I was not able to log in or do anything else, because ma URL is doubled.

My URL is:

www.liber.de/ez/index.php/admin

Trying to log in or do something else I received the following URL:

www.liber.de/ez/ez/..... ( instead of "ez" I received in the URL "ez/ez" )

Have anybody an idea why this succeeds and how could I resolve it?

Any help I would appreciate.

Regards
Claudius

Gabriel Ambuehl

Friday 09 May 2003 4:07:05 am

Edit settings/overrides/site.ini.append.php

and set the correct URL to the site.

Visit http://triligon.org

Claudius Frank

Friday 09 May 2003 4:22:39 am

HI Gabriel,

Thanks very much for the reply.
The URL in:
settings/override/site.ini.append.php
was set correct as

SiteURL=www.liber.de/ez/index.php/user

but this doesn't seem to be the solution.

Regards
Claudius

James Ward

Friday 09 May 2003 4:39:33 pm

Sorry Claudius but Gabriel is right.

My site has ez installed in a directory called ezpublish in the root folder of my site but I had to change my site.ini.append.php to:

SiteURL=www.mysite.com

I know it looks right the other way but ez is smart enought to know its in a subdirectory of that site. Give it a try and let us know if it fixes your problem. Don't forget to clear your cache to test the change.

working at www.wardnet.com
blogging at www.jamesward.ca

Claudius Frank

Saturday 10 May 2003 4:44:50 am

Hi James,

I changed my site.ini.append as you proposed, but the result remained the same.
There must be some other constellation problem.
I tried to change the site.ini.append in

/settings/siteaccess/demo (admin and user) too, but without success.

Does something have to be changed in site.in
in /settings /site.ini
or must this file remain unchanged?

Here is my site.ini.append:

/settings/override/sit.ini.append.php

<?php /* #?ini charset="iso-8859-1"?

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=
User=
Password=
Database=
Charset=iso-8859-1
Socket=disabled

[SiteSettings]
SiteName=eZ publish
SiteURL=www.liber.de
#SiteURL=www.liber.de/ez/index.php/user
DefaultAccess=admin

[SiteAccessSettings]
CheckValidity=false

[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled

[ContentSettings]
TranslationList=eng-GB

[MailSettings]
Transport=sendmail
*/ ?>

I have deleted only the DatabaseSettings because of the security reasons.
The line #SiteURL=www.liber.de/ez/index.php/user is original line after the installation.
I changed this line as you can see in
SiteURL=www.liber.de
but without success.

Could you be so kind and try to access my site under:

www.liber.de/ez/index.php/user

or

www.liber.de/ez/index.php/admin

You will see that "ez" is doubled in "ez/ez".
You can try to log in with admin and publish.

Best regards
Claudius