on ‎2018 May 14 5:15 PM
Now when i go to https://localhost:9002/
it opens hac (hybris admin console).
when i go
https://powertools.local:9002/nystorefront/powertools/en/USD/cart
i can reach my storefront.
I want to reach mystore when i go to localhost:9002.
What should i do?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
simply add the following to your local.properties:
hac.webroot=/hac
nystorefront.webroot=
This will allow you to reach your storefront by e.g. https://powertools.local:9002/nystorefront/powertools/en/USD
If you want to directly access your powertools CMS Site, you have to add an additional Url Pattern to your CMS Site, e.g.
(?i)^https?://[\w-\.:]+/.*
Hope that helps,
Regards,
Norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your regex simply doesn't work.
start simple e.g. with
$siteUid=mysite
INSERT_UPDATE CMSSite ; uid[unique=true] ; urlPatterns ;
; $siteUid ; (?i)^https?://[^/]+(/[^?])?\?(.\&)?(site=$siteUid)(|\&.)$,(?i)^https?://$siteUid.[^/]+(|/.|\?.)$,(?i)^https?://localhost:9002.*$ ;
hope that helps, regards, Norbert
now it says
.storefront.filters.cms.CMSSiteFilter@7f1ab6b5'!; nested exception is java.lang.IllegalStateException: Site is not active. Active flag behaviour must be implement for this project.] with root cause java.lang.IllegalStateException: Site is not active. Active flag behaviour must be implement for this project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.