[opencms-dev] getting rid of the opencms/opencms/ prefix

Marcus Popetz marcus at roundpeg.com
Thu Oct 13 18:01:47 CEST 2005


At 11:44 AM 10/13/2005, Sebastian Himberger wrote:
>RewriteCond %{REQUEST_URI} ^/export/.*$
>RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
>RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f
>RewriteRule .* 
>/${WEBAPP_NAME}/OpenCms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]

My rewrite rules are exactly like yours and the changes to 
import-export.xml described 
in  http://www.opencms-forum.de/viewtopic.php?t=713 are minimal.

The weird thing is that export works for my own stuff, and for one of the 
workplace .css files, but not the others.  That's confusing to me.

Anyway, this is what I have, can you see the bug?

<rfs-prefix>/export</rfs-prefix>
<vfs-prefix></vfs-prefix>


RewriteCond %{REQUEST_URI} ^/export/.*$
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f
RewriteRule .* 
/opencms/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]

Thanks!
Marcus




More information about the opencms-dev mailing list