AW: Re: [opencms-dev] Static export without RFS-prefix doesn't work
Ulrich Rueth
lists at rueth.info
Fri Jan 21 17:41:10 CET 2005
Hi Michael,
sorry to bother you again, but this is still not what I need to achieve.
Maybe I should summarise quickly:
I want to export my resources on a WinXP box to a path like F:/webroot/,
which is the root directory of my Apache HTTP server. So I set
<exportpath>F:/webroot</exportpath>
Tim seems to want the same thing only on a Linux box, so he would set
something like
<exportpath>/var/www/html/</exportpath>
Now, as this is the Apache HTTP webserver root, we both need to achieve that
the links in our exported resouces have no leading "/opencms/opencms".
Therefore I set
<rfs-prefix/>
Exactly this configuration leads to a 404 error when exporting template
resources, i.e. resources with links. Exporting non-template resources (e.g.
images) works fine, because no cms:link functionality is needed.
This behaviour is what I think is a bug in OpenCms alpha 3.
I wish you nevertheless a nice weekend!
Regards
Ulrich
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Michael Moossen
Gesendet: Freitag, 21. Januar 2005 15:11
An: 'The OpenCms mailing list'
Betreff: AW: Re: [opencms-dev] Static export without RFS-prefix doesn't
work
Sorry, i had a lapsus...
Here is my conf for exporting to the root of the tomcat webapp context:
<exportpath>.</exportpath>
...
<rfs-prefix>${CONTEXT_NAME}</rfs-prefix>
I hope it helps
>> Are you going through an apache server?
--
Alkacon Software
Michael Moossen
An der Wachsfabrik 13
50996 Köln, DE
Tel: +49 (0)2236 3826-0
Fax: +49 (0)2236 3826-20
Email: m.moossen at alkacon.com
http://www.alkacon.com
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von lists at rueth.info
Gesendet: Freitag, 21. Januar 2005 12:40
An: The OpenCms mailing list
Betreff: Re: Re: [opencms-dev] Static export without RFS-prefix doesn't
work
No, I tried this already, also leads to a 404 error... :-(
Tim <tcs777 at gmail.com> schrieb am 21.01.2005, 10:32:34:
> Just wondering, what would be the effect of /?
>
> I'll check this out myself next week..
>
>
> On Thu, 20 Jan 2005 21:52:27 +0100, Ulrich Rueth wrote:
> > Hi all,
> >
> > I recently posted quite a lot here on static export problems. I
> > always got a 404 error when trying to export template resources,
> > while the non-template resources export worked fine. I am one step
> > further now.
> >
> > Because I wanted to export to the server root directory, I left the
> > element in the opencms-importexport.xml file empty. This seems not
> > to work. As soon as I write any string in this element (e.g.
> > exporttest), the static export of template resources works. Of
> > course, then all links have the "exporttest" prefix, which I don't
> > want.
> >
> > Is this a bug in OpenCms alpha 3? How can I achieve to have no
> > prefix when exporting template resources?
> >
> > Thanks and regards
> > Ulrich
> >
> > _______________________________________________
> > 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
> >
_______________________________________________
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
_______________________________________________
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
More information about the opencms-dev
mailing list