[opencms-dev] Export question (stylesheet, images, dynamic sources and other resources)

Thomas März thomasmaerz at gmx.de
Wed Jul 16 11:31:00 CEST 2003


Björn Aberti <bjoern_al at hotmail.com> writes:
> The first is where it exports the stylesheet I've created in my
> resources directory. If I watch the page in the real file system, it
> seems that the stylesheet is ignored. I didn't find it in my file
> system. So where is my 'resources'-stuff?
Did you set the property "export" to "true"? You can also set the
property "exportname" to a folder, e. g. "/my/resources/" for
"/system/modules/.../resources/".

> Second question: Where does it place the images I took from my hard
> disk? I've read that I have to create an image gallery!?
By default the folder "/system/galleries/pics/" to "/pics/".

> Third question: Dynamic sources like PHP and JSP are normally put into
> the folder /Web-INF/export/. Is that right? In this folder I only have
No. The static export folder is defined in "opencms.properties" and the
default value is "$CATALINA_HOME/${WEB_APP_NAME}/export". Take a look at
"staticexport.path". For more information about JSP and OpenCms read the
documentation. All the statically exported files are put into the folder
"staticexport.path".

> another folder modules with zips, which don't contain my files I've
> created. 
,----[ /WEB-INF/export/readme.txt ]
| In this folder (export) OpenCms stores all exportes zip-files. You can put
| your own exported zip-files here to import them via the database administration.
`----

> Since I like to use PHP I've followed the instructions of
> Joachim Arrasz to use the jk connector and then to put my PHP-files
> into htdocs folder of Apache. I think Opencms ignores my PHP file at
> all. I cannot find it on my hard drive. So what am I doning wrong?
Set the values of "staticexport.path" to your htdocs folder. Maybe you
didn't export your files statically.

Best Regards,
Thomas März




More information about the opencms-dev mailing list