Re[2]: [off-topic] proxying bxcms
qMax <[email protected]> Mon, 20 Feb 2006 19:56:56 +0600
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Monday, February 20, 2006, 7:01:01 PM, Christian Stocker wrote:
CS> 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.
CS> No it isn't :) It's a comfort-feature :) And easily overwriteable.
CS> <constant name="BX_WEBROOT">http://{$_SERVER['HTTP_HOST']}/</constant>
CS> in config.xml
CS> to
CS> <constant name="BX_WEBROOT">/</constant>
Oh! thanx.
This realy helps.
CS> And it should work. But you have to fix your sitemap before, there was
CS> an error there:
CS> https://ssl.bitflux.ch/horde/chora/diff.php/fluxcms/trunk/install/dist/sitemap/sitemap.xml?r1=6406&r2=6530&ty=u
CS> should help
Hm... And how it has been working before ? :)
CS> By the way, you can also do
CS> <constant name="BX_WEBROOT">none</constant>
CS> and then set the BX_WEBROOT constant by yourself in for example
CS> conf/include.php
Setting webroot to '/' looks simpler, then determining webroot in php,
since it hasnot 'application prefix' on both sites.
Well, now i have another trouble.
I want to restrict access from internet only for local network users
through ldap_auth in apache.
And in spite of that all authentication is disabled for bxcms in
config.xml,
when it sees basic auth in http, it performs check and returns false...
I guess there should be some check in bxcmsauth to return 'true' if no
permm configured at all.
Later, anyway i'll need to code ldap auth module and problem will
disappear.
But now i need to let designer to access intranet site,
and dont want it to be insecure :)
--
qMax
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms