[opencms-dev] export feature ??? small remark

Apostoly Guillaume ApostolyG at mail.europcar.com
Wed Jul 23 18:07:01 CEST 2003


Has to do with thoose rules i guess ?

ruleset.dynamic_offlinerules=s#^#${url_prefix_http}#
ruleset.dynamic_exportrules=*dynamicRules*, \ 
s#(.*\.gif$)#${url_prefix_export}$1#, \ 
s#(.*\.jpg$)#${url_prefix_export}$1#, \ 
s#(.*\.pdf$)#${url_prefix_export}$1#, \ 
s#(.*\.css$)#${url_prefix_export}$1#, \ 
s#(.*\.doc$)#${url_prefix_export}$1#, \ 
s#(.*\.exe$)#${url_prefix_export}$1#, \ 
s#(.*\.xls$)#${url_prefix_export}$1#, \ 
s#(.*\.js$)#${url_prefix_export}$1#, \ 
s#(.*\.zip$)#${url_prefix_export}$1#, \ 
s#(.*\.jpeg$)#${url_prefix_export}$1#, \ 
s#(.*\.txt$)#${url_prefix_export}$1#, \ 
s#^#${url_prefix_http}#
ruleset.dynamic_externrules=*dynamicRules*, \ 
s#(.*\.gif$)#$1#, \ 
s#(.*\.jpg$)#$1#, \ 
s#(.*\.pdf$)#$1#, \ 
s#(.*\.css$)#$1#, \ 
s#(.*\.doc$)#$1#, \ 
s#(.*\.exe$)#$1#, \ 
s#(.*\.xls$)#$1#, \ 
s#(.*\.js$)#$1#, \ 
s#(.*\.zip$)#$1#, \ 
s#(.*\.jpeg$)#$1#, \ 
s#(.*\.txt$)#$1#, \ 
s#.*##



> -----Message d'origine-----
> De: Apostoly Guillaume 
> Date: mercredi 23 juillet 2003 17:41
> À: opencms-dev at opencms.org
> Objet: [opencms-dev] export feature ??? small remark
> 
> 
> uploading the same file (.tar.gz) but renames in .pdf make it 
> be exported
> also.
> As the export of file uploads to do with file extensions ?
> 
> > -----Message d'origine-----
> > De: Apostoly Guillaume 
> > Date: mercredi 23 juillet 2003 17:34
> > À: opencms-dev at opencms.org
> > Objet: [opencms-dev] export feature ???
> > 
> > 
> > Hi all,
> >  
> > I'm facing a cool but "to be explained" behaviour with the 
> > export. I've
> > joined my configuration for easier understanding.
> > So here're the points: 
> > - my default export is dynamic
> > - i'm under a tree (through several folder) with nothing specified
> > - all the pages jsp and html pages, when published are still 
> > dynamic (that's
> > ok)
> > - BUT when i upload files, SOME of them are considered as to 
> > be exported.
> >  
> > I tried with to files (a small ".tar.gz" and a big .pdf) in 
> > the same folder,
> > put a linkto each of them on the same document, published 
> and ... the
> > .tar.gz link is generated from the VFS (and so comes from 
> > OpenCMS), while
> > the link to .pdf is generated as export (and so provided by 
> > apache, in my
> > case).
> >  
> > That seems great, but i'd like to understand the rule that 
> > does this ???
> >  
> > Thanks by advance,
> >  
> > Guillaume.
> >  
> >  
> > staticexport.enabled=true
> > staticexport.default.export=dynamic
> > staticexport.path=export/
> >  
> > linkrules.true.export=exportrules
> > linkrules.true.online=exportrules
> > linkrules.true.offline=offlinerules
> > linkrules.true.extern=externrules
> > linkrules.dynamic.export=dynamic_exportrules
> > linkrules.dynamic.online=dynamic_exportrules
> > linkrules.dynamic.offline=dynamic_offlinerules
> > linkrules.dynamic.extern=dynamic_externrules
> >  
> > 
> >  
> >  
> > _______________________________________
> > Guillaume APOSTOLY 
> > Business-Analyst EIS-BSD 
> > Tél: +33 (0)1.30.44.95.22 
> > Fax: +33 (0)1.30.44.98.08 
> > ApostolyG at mail.europcar.com <mailto:ApostolyG at mail.europcar.com>  
> > _______________________________________ 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > _______________________________________________
> > 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