[Zope] Virtual Host Monster and <BASE ..>
Patrick
patrick@eahd.or.ug
Thu, 26 Apr 2001 16:42:17 +0300 (EAT)
You might have to make a virtual root for your real root as in make a url
like http://www.domain.com/zope could be referenced to your root folder so
that when you type www.domain.com/zope you end up in your root folder...
Hope this helps,,
My 2 cents,
Patrick.
On Thu, 26 Apr 2001, Tom Cameron wrote:
> I am using the Virtual Host monster and apache rewrite rules to handle
> virtual hosts. I am using Zope 2.3.0 on FreeBSD and Apache1.3.
>
> This works very well for all folders/pages other than the virtual root. And
> it works fine for the virtual root if I explicitly specify the index_html
> page. i.e. http://www.domain.com/index_html.
>
> However for the very root of the site, if I call it by the domain only i.e.
> http://www.domain.com it does not work at all.
>
> The resultant HTML contains a <BASE> tag
> <base href="http://www.domain.com/sitefolder/" />
> which seems to screw everything up.
>
> All the urls on this home page start with
> http://www.domain.com/sitefolder/ instead of
> http://www.domain.com/ as if the host monster is not working at all.
>
> I then tried to add a new rewrite directive to apache to send all requests
> for
> http://www.domain.com/ to
> http://www.domain.com/index_html in a hope to avoid this problem, but that
> seems to have no effect (perhaps I am not doing it correctly)
>
> Any help would be appreciated
>
> Thanks
> Tom Cameron
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>