non virtualhost setup and ezurl

Author Message

Jacek S

Monday 16 January 2006 1:24:25 am

I run 2 separated pages build on ezpublish. They are locaded on the same hosting server. But they behave diffrent whith ezurl operator. First works fine - ezurl adds index.php to uri. Second adds index.php only when I put intex.php in address. And, it is most strange, ezurl uses in the second case temporary domain, other that i put in address bar, which was configured for the testing. For example:
I get to the site with: www.mysite.com. Then every ezurl in templates produces something like that: www.mysite.temporary.com/subpage.
but when I write www.mysite.com/index.php, every ezurl make www.mysite.temporary.com/index.php/subpage. And it works.

I think i make some errors when I configured second site. But I doesnt now where.
Somebody could help me with it?

Ɓukasz Serwatka

Monday 16 January 2006 1:28:30 am

Hi,

Did you enable ForceVirtualHost in site.ini.append.php for that website? Try disable it.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jacek S

Monday 16 January 2006 2:21:49 am

No, i didnt set ForceVirtualHost. It is like it was at fresh installation - set to false.
I dont understand from where ezurl takes the old domain name.

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