[opencms-dev] static export and several sites

asawari pujari asawari_bhalchandra at yahoo.com
Mon Jan 3 14:07:50 CET 2005


Hello Alexandar,
 
After reading your mail i think you can solve my query...please can u?
Can i do static export to a site that is hosted on a remote server
Please explain to me what exactly u were trying to do with the virtualhost code.

Martin Kuba <makub at ics.muni.cz> wrote:
Alexander Semibratov wrote:
> I want:
> 
> 
> servername site1
> documentroot /www/opencms/export/sites/site1
> 
> 
> 
> servername site2
> documentroot /www/opencms/export/sites/site2
> 
> 
> but links in pages point to /sites/site1 (/sites/site2)

What I do is a redirect in Apache:


servername site1
documentroot /www/opencms/export/sites/site1
RedirectPermanent /opencms/export/sites/site1/ http://www.site1.cz/


so the links are pointing to /sites/site1, but Apache corrects them.

Martin
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

		
---------------------------------
Do you Yahoo!?
 The all-new My Yahoo! � Get yours free!    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050103/03ab1974/attachment.htm>


More information about the opencms-dev mailing list