[opencms-dev] Réf. : Re: Can I assign a public URL to a microsite?
Iván Velamazán González
ivan.velamazan at gtbi.net
Thu Feb 14 17:06:20 CET 2008
Yes, that's what I'm trying to do to reach
"http://www.myserver.com/opencms" from "http://www.myserver.com", which
is the last thing remaining, but when the host is shared with other
users with completely different web-servers and you don't have root
access to the machine, the whole thing gets complicated. :-)
Claus Priisholm escribió:
> What you did is basically an "external link", i.e. an redirect.
> A different approach could be to make the url rewrite in your web server
> thus avoiding the redirect.
>
> Iván Velamazán González wrote:
>
>> Yes, but I got problems because it seems that the "configuration scope"
>> is different where the sibling is than where the original file is (which
>> is inside a microsite), so things like menu background, styles, etc. are
>> shown differently.
>>
>> To use that approach I should move all the microsite to the root of the
>> site, which is the first thing I tried, but I had problems moving the
>> "settings" as I said in my other post titled "Converting a Microsite
>> into a site".
>>
>> olivier.camus at steria.com escribió:
>>
>>> Did you tried to use siblings instead ?
>>>
>>> -----opencms-dev-bounces at opencms.org a écrit : -----
>>>
>>> Answering myself to this question: A "quick & dirty" way of doing
>>> it is
>>> creating a plain text file (this is very important) called
>>> "index.html"
>>> in the root of the site which redirects to the Microsite. The code
>>> is as
>>> simple as «<meta http-equiv="Refresh" content="0; url=/cms/GTBiWeb">».
>>>
>>> Not very elegant, but it does the trick
--
Iván Velamazán González
More information about the opencms-dev
mailing list