Hello,

I come back with my content/download url in object tag problem.
Today, it's work with the RewriteRule ^/var/([^/]+/)?storage/original/.*
/index_cluster.php  [L]
But( it's not a correct way as Nicolas Pastorino said), I would know if
there is an another solution.

I am quite sure that it is a problem of headers. Can I avoid this problem
with eZ, for exemple : 
If the mime type is swf, don't send the download header ? It is possible ?

http://ez.no/developer/forum/developer/urls_content_download_in_a_object_tag
_don_t_work
Thanks,

-----Message d'origine-----
De : Sébastien Morel [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 14 septembre 2007 10:39
À : 'Nicolas Pastorino'
Cc : '[email protected]'
Objet : RE: [Sdk-public] Cluster : storage/original missing in RewriteRule

 
Hello,

Thanks for your response.

Yes, the content image served correctly. And, the file upload by the users
too. (With content/download etc...) But, the swf which is the origin of my
problem is in the /var/xxx/storage/original.

But, I have a part of solution (If a moderator can delete my comment in the
documentation page...)

In fact, the problem come from a template, this code is used :
$object.data_map.flash.content.filepath|ezroot

I replace with :
{concat("content/download/",$object.data_map.flash.contentobject_id,"/",$obj
ect.data_map.flash.id,"/file/",$object.data_map.flash.content.original_filen
ame)|ezurl}
And it works only with IE without the RewriteRule.

But with FireFox this code :
<object width="200" height="170"
data="/content/download/6450/156032/file/reseau_france_projet_couleur_v2.swf
" type="application/x-shockwave-flash">
                <param
value="/content/download/6450/156032/file/reseau_france_projet_couleur_v2.sw
f" name="movie"/>
                <param name="quality" value="high"/>
                <param name="scale" value="exactfit"/>
                <param name="wmode" value="transparent"/>
                <param name="salign" value="t"/>
</object>

Doesn't work, maybe because the content/download path give several download
headers ?

I think that it's for the reasons that the
$object.data_map.flash.content.filepath|ezroot was used...

How to do that correctly with the clustering mode ?

Thanks
Séb

-----Message d'origine-----
De : Nicolas Pastorino [mailto:[EMAIL PROTECTED] Envoyé : jeudi 13 septembre 
2007
18:19 À : Sebastien MOREL Cc : [email protected] Objet : Re:
[Sdk-public] Cluster : storage/original missing in RewriteRule

Hello Sebastien,

You should not need to add this rewrite rule in order to have your swf files
served.
Only content related pictures will be served by means of this alternative
index file, whilst binary and media content will pass through PHP ( accessed
by URLs of the form : "content/download/ ..  
"). And i guess you are storing your swf file using the ezmedia datatype (
unless you developped a custom datatype ).

Are your content images served correctly ?
--
Nicolas


On Sep 13, 2007, at 9:43 , Sebastien MOREL wrote:

> Hi,
>
> I have added a comment in the documentation, http://ez.no/doc/ 
> ez_publish/technical_manual/3_9/features/clustering/setting_it_up
> My file (swf) after the clusterize.php in /var/xxxx/storage/ original 
> didn't work. (The files was in the database) I had to add this 
> RewriteRule :
>
> Rewriterule ^/var/([^/]+/)?storage/original/.*          / 
> index_cluster.php  [L]
>
> Someone can confirm that my RewriteRule is necessary ?
>
> Thanks
>
> --
> Sébastien MOREL | NOVACTIVE
> Chef de projet technique
> Tel : + 33 1 48 24 33 60
> Fax : + 33 1 48 24 33 54
> http://www.novactive.com
>
> --
> Sdk-public mailing list
> [email protected]
> http://lists.ez.no/mailman/listinfo/sdk-public

--
Nicolas Pastorino
Consultant - Trainer - System Developer
eZ Systems ( Western Europe )  |  http://ez.no




-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to