Forums / Setup & design / Virtual Host ezurl and Flash

Virtual Host ezurl and Flash

Author Message

Heiner Wurbs

Sunday 04 July 2004 8:55:35 am

Hi together,
I've got a problem, using the virtual host mode and the flash.tpl:

the flash.tpl is the following:

<param name="movie" value={concat("content/download/",
         $attribute.contentobject_id,
         "/",$attribute.content.contentobject_attribute_id, "/", 
         $attribute.content.original_filename)|ezurl} />

this generates the following html code:

<param name="movie" value="/mydesign/content/download/200/613/myflash.swf" />

This flash file cannot be found (accessed) by the browser.

If I write instead:

<param name="movie" value="/index.php/mydesign/content/download/200/613/myflash.swf" />

then the Browser can access the flash file.

My Rewrite_rule is fine:

  RewriteEngine On
  RewriteRule !\.(swf|gz|gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$
  /home/htdocs/html/index.php

Whats the problem? I can't figure it out!

Thanks for any help
Heiner