[opencms-dev] Réf. : Re: Can I assign a public URL to a microsite?

Claus Priisholm cpr at codedroids.com
Thu Feb 14 16:37:31 CET 2008


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.
>>

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
-- 
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms




More information about the opencms-dev mailing list