[Community-desktop] creating a folder below the root to place allcontent etc
michaelntmilne
michaelntmilne at yahoo.co.uk
Sat Oct 7 04:27:40 CDT 2006
I asked on the Plone Users list about this - The navigation and breadcrumbs are set by the portal root but you still need to use Apache to manipluate the URLs.
Thanks
On Oct 6, 2006, at 11:47 AM, michaelntmilne wrote:
> In 2.1.3 you can set the root in navigation settings but it doesn't
> affect the breadcrumbs. Does it affect the breadcrumbs in 2.5?
Yes, it does.
> I guess many people just use Apache to rewrite etc but for people
> who are less technical it may be good to provide the option to set
> a site root which will then reflect in URLs as well as elsewhere.
",1] ); D(["mb","With 2.5 you still need to deal with this in the rewrite rule
RewriteRule ^/content/(.*) http://cms.domain.com:8080/VirtualHostBase/
http/www.domain.com:80/ploneSite/VirtualHostRoot/_vh_content/$1 [L,P]
",1] ); D(["mb","
Dan
",1] ); //-->
> I guess many people just use Apache to rewrite etc but for people
> who are less technical it may be good to provide the option to set
> a site root which will then reflect in URLs as well as elsewhere.
With 2.5 you still need to deal with this in the rewrite rule
RewriteRule ^/content/(.*) http://cms.domain.com:8080/VirtualHostBase/
http/www.domain.com:80/ploneSite/VirtualHostRoot/_vh_content/$1 [L,P]
Alan Runyan <alan at enfoldsystems.com> wrote: > I've decided to create a folder below the root of a plone
> site to place all content and contained folders in. This is
> so that with Enfold Desktop managers of the site can just see
> the content folders and not all the ZMI stuff as well.
This is the best long term strategy with a Plone site.
> However I obviously now get www.site.com/home/folder/etc in
> my URLs. How do people handle this? I guess you could simply
> re-write using Apache to take out the /home/ to make a
> shorter URL. It's a pity that setting the portal root in the
> navigation settings doesn't affect URLs as well as hiding
> folder in the navigation.
Rewrite with Aapache. I believe Plone 2.5 has mechanisms so you can
assert SiteRoot's and make your 'home' folder the "IPloneRoot" - or
something. Ask on plone-users mailing list. But then everything will
be computed from /plone/home instead of /plone
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.enfoldsystems.com/pipermail/community-desktop/attachments/20061007/e1a5d7fb/attachment-0051.htm
More information about the Community-desktop
mailing list