[opencms-dev] Writing static imagens to file system from OpenCMS

Ivan Biddles ivanb at scientology.net
Sat Mar 8 21:04:29 CET 2003


Hi Jota,

That is also what I do. I set export=true for all the pages to be
created statically, and export=dynamic or =https for the pages that are
to be dynamically served by Tomcat.

Any pages that are static are better off being served by Apache anyway.

Best wishes,
              Ivan

-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Jota Trab
Sent: Friday, March 07, 2003 13:18
To: opencms-dev at www.opencms.org
Subject: RE: [opencms-dev] Writing static imagens to file system from
OpenCMS


Thanks, but i'm not really seeking a complete static
export. I just wanted to export one folder to file
system and the rest of the content would still be
served by Tomcat.



> I do exactly what you are asking for, and this is
> also where I set up
> for HTTPS. It all works just fine.
> 
> In opencms.properties:
> 
> staticexport.path=/usr/apache/htdocs/pub
> 
> url_prefix_export=
> url_prefix_http=/${WEB_APP_NAME}/opencms
>
url_prefix_https=https://www.myserver.com/${WEB_APP_NAME}/opencms
> url_prefix_servername=http://www.myserver.com
> 
> Best wishes,
>               Ivan
> 
> 
> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf
> Of Jota Trab
> Sent: Friday, March 07, 2003 06:55
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] Writing static imagens to
> file system from
> OpenCMS
> 
> Hi!
> 
> I have a scenario with Apache and Tomcat where I
> want
> Tomcat to serve the dynamic OpenCMS files and Apache
> to serve the images.
> 
> Apache would read the images from a directory on the
> file system.
> But for that, I would need OpenCMS to export the
> "pics" folder of my project to a structure on the
> file
> system.
> 
> I thought that maybe this could be done with the
> exportpoint parameters in opencms.properties but I
> configured that and nothing happens when I publish
> the
> folders or the entire project. I'm not even sure if
> these exportpoint options are for this, since I
> can't
> find documentation about them.
> 
> Any hints? Or it can't be done?
> Thanks
> Jota
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/




More information about the opencms-dev mailing list