Re: [Zope] how to remove :8080?
At 11:39 20.02.2003 -0800, you wrote:
If you wish to remove :8080 without using VHM, absolute_url(1) will give you a relative url (i.e. webpages/index_html instead of http://localhost.com:8080/webpages/index_html). Just remember to add the leading slash to make the path absolute. This works, for example, in generating breadcrumbs and a site map automatically via python scripts. See page http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx (listed under module ObjectManagerItem) for usage.
Since absolute_url(1) will not work for search results, you must use the getpath() method to return relative urls in ZCatalog search results. See page http://www.zope.org/Documentation/Books/ZopeBook/current/AppendixB.stx (listed under module ZCatalog) for usage.
Thanks! I got it working with SiteRoot. Well. Almost, anyway. It looks if as some stylesheets for the management-screen is not working quit right . Everything works though, so I can live with that for a while. If anyone knows why using siteroot causes the stylesheet for the managementscreens to disapear, i would be happy to know why! Einar
[Einar Næss jensen wrote (einjen@nvg.ntnu.no) on 2/24/03 2:27 PM]
I got it working with SiteRoot. Well. Almost, anyway. It looks if as some stylesheets for the management-screen is not working quit right . Everything works though, so I can live with that for a while. If anyone knows why using siteroot causes the stylesheet for the managementscreens to disapear, i would be happy to know why!
I think you'll be happier using the Enhanced Siteaccess, which uses Virtual Host Monster. site roots are obsolete and troublesome. <--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net
participants (2)
-
Einar Næss jensen -
george donnelly