Re: [off-topic] proxying bxcms

Christian Stocker <[email protected]> Mon, 20 Feb 2006 14:01:01 +0100
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 20.2.2006 9:52 Uhr, qMax wrote:
> Sorry for bothering.
> This is solved by configureing virtual host like
> intra.internetsite.ru.
> 
> The only trouble is that some modules may use BX_WEBROOT_W to create
> references (e.g. links to blog categories or blog authors).
> This prevents to access them via proxy.
> It's a misfeature.

No it isn't :) It's a comfort-feature :) And easily overwriteable.

<constant name="BX_WEBROOT">http://{$_SERVER['HTTP_HOST']}/</constant>

in config.xml

to

<constant name="BX_WEBROOT">/</constant>

And it should work. But you have to fix your sitemap before, there was 
an error there:

https://ssl.bitflux.ch/horde/chora/diff.php/fluxcms/trunk/install/dist/sitemap/sitemap.xml?r1=6406&r2=6530&ty=u

should help

By the way, you can also do
<constant name="BX_WEBROOT">none</constant>
and then set the BX_WEBROOT constant by yourself in for example 
conf/include.php

HTH

chregu

> 
> Monday, February 20, 2006, 2:03:24 PM, qMax wrote:
> q> Hi.
> q> I have bxcms site hosted on intranet host in local domain (on virtual host
> q> with empty docroot) (http://mysite/).
> q> Now i can't figure out how can i set up proxy to allow some users
> q> access this site from internet (http://www.internetsite.ru/intra/).
> q> Both sites are opn apache2.
> q> I thought i could set up mod_proxy on internet site, something like:
> q> ProxyPass /intra/ http://mysite/
> q> ProxyPassReverse /intra/ http://mysite/
> 
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms