Forums / Setup & design / URI access method and URL without index.php?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

URI access method and URL without index.php?

Author Message

Jozef Baum

Monday 22 June 2009 3:17:37 pm

I am new to Exponential.

I installed it with the Plain Site and with the URI acces method, which is recommended. The URL I used was, let us say, sub.domain.tld.

Then, I created a new siteaccess "sub" and configured it in the override/site.ini.append.php as the default site. All goes well: the URL http://sub.domain.tld/ no longer leads to the plain_ site_user, but to the "sub" site.

Then, I created a new siteaccess "www" with the URL "www.domain.tld". And now comes the problem: although "www" has another URL then "sub", with the URL http://www.domain.tld, Exponential still shows the site "sub".

So Exponential seems to take into account only the domain and top level domain in the URL, but not the subdomain.

The only way to solve the problem I have found until now is to switch to the host access method, as then, there is no default site.

André R.

Tuesday 23 June 2009 2:55:31 am

You should change to host based, then if there is no match, the default one is used.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Heath

Tuesday 23 June 2009 3:32:13 am

Remember to redirect the old url style of site links!
<i>http://ezpedia.org/ez/switching_to_rewrite_rules</i>

Cheers,
Heath

7x | https://se7enx.com/
Brookins Consulting | https://brookinsconsulting.com/
Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350
Solutions | https://projects.exponential.earth/users/community/brookins-consulting
eZpedia community documentation project | http://ezpedia.se7enx.com

Jozef Baum

Tuesday 23 June 2009 2:36:09 pm

"You should change to host based, then if there is no match, the default one is used." André R.

Yes, that's what I did.

But then, in the technical manual, eZ Systems should write that the URI access method is the most easy (as it requires no DNS and firewall configuration), but not that the URI access method is the recommended one (as it can lead to the problem I experienced).