Saturday 24 January 2004 10:11:00 am
On Mandrake 9.2, with Apache 2, when i install a new site on my local machine, SiteURL is set to localhost/mysite/index.php in settings/siteaccess/mysite/site.ini.append When i try to register a new user, some emails are sent but they contain wrong links, for instance :
http://localhost/mysite/index.php/mysite/index.php/plain/content/view/full/54
instead of http://localhost/mysite/index.php/plain/content/view/full/54
If i look into templates i can see : http://{ezini("SiteSettings","SiteURL")}{concat('content/view/full/',$object.main_node_id)|ezurl(no)} {ezini("SiteSettings","SiteURL")} gives localhost/mysite/index.php and {concat('content/view/full/',$object.main_node_id)|ezurl(no)} gives /mysite/index.php/plain/content/view/full/54
Is there a problem with Apache2 and ezurl function ? Or should i change SiteURL to localhost ? Thanks
|