[opencms-dev] Problems with exporting (mod_proxy documentation)

Peter Huesser peter.huesser at psi.ch
Thu Nov 3 09:30:09 CET 2005


Hello

Some days ago I posted a mail concerning the possibility to integrate 
php code into opencms. This should be possible if one installs opencms 
as described in the docu 
<http://www.iwka-is.de/opencms/opencms/alkacon-documentation/howto_apache_httpd/mod_proxy.html>. 
I did it exactly in this way. The only exception is step 2. There you 
can read that one should "remove any occurrence of the ${SERVLET_NAME} 
variable". They also have an example how the section where one has to 
make the replacing should look like:

 <rendersettings>
      <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
      <vfs-prefix>${CONTEXT_NAME}</vfs-prefix>
      <userelativelinks>false</userelativelinks>   
      <exporturl>http://127.0.0.1:8080/handle404</exporturl>
      ...
  </rendersettings>

This is a contradiction to what they suggested one should do. Anyhow
if you use this settings (with ${CONTEXT_NAME}) I am not able to login anymore.
So I removed everything. My file now looks like:

  <rendersettings>
      <rfs-prefix>/export</rfs-prefix>
      <vfs-prefix></vfs-prefix>
      <userelativelinks>false</userelativelinks>
      <exporturl>http://127.0.0.1:8080/handle404</exporturl>
      ...
  </rendersettings>

I can login now but no publishing is really done. I set the "export" property of a php
file on "true" and published it but I do not see any files (exept "system" folder) under
the export folder.

I do not know exactly if I am doing something wrong with "publishing a file/folder"
(sorry, I am a newbie) or if there is still an error in the configuration file. Does
somebody has a working solution ?

Thank's in advance for any help

	Pedro



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051103/6577b079/attachment.html>


More information about the opencms-dev mailing list