Forums / Setup & design / Siteaccess and wrong default path

Siteaccess and wrong default path

Author Message

David Zaoui

Tuesday 19 June 2007 4:59:45 am

Hi everybody,

I made a copy of my existing ez publish site on a new server. The problem is that all links are wrong : in fact my site url is http://mysite/~mysite/index.php/ but it seems that the default path ( the one which can be obtained via the "|ezurl" operator) is http://mysite/index.php/ .

I do't know how to make http://mysite/~mysite/index.php/ the default path, i checked the site.ini.append settings for the siteaccess of my front site and i've got this line :

SiteURL : http://mysite/~mysite/index.php/

So i dont understand it is not the default path.

What must i do?

Thank you

André R.

Tuesday 19 June 2007 5:01:44 am

Cleared all cache ?

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

David Zaoui

Tuesday 19 June 2007 5:17:06 am

Hi André,

I don't know how to clear the cache i can't display the admin site.
When i go to http://mysite/~mysite/index.php/intranet_admin, the user login interface is displayed, but without any image or css style, and when i want to log in, the system redirects me to the following page :http://mysite/index.php/intranet_admin (which is not the good path);

André R.

Tuesday 19 June 2007 5:36:12 am

From the doc:

Step 5: Clearing the caches

Whenever an eZ Publish solution is upgraded, all caches must be cleared in a proper way. This should be done from within a system shell:

1.
Navigate into the eZ Publish 3.9.1 directory.
2.
Run the clear cache script:

bin/shell/clearcache.sh --clear-all

Please make sure that all caches are cleared. Sometimes the script is unable to clear caches because of restrictive file/directory permission settings. Make sure that all caches have been cleared by inspecting the contents of the various cache subdirectories within the "var" directory.

Alternatively you can clear it by 'brute force' by deleting content inside cache folders in var folder.

Default install:
var/cache/
var/'site name'/cache/

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