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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:12:43
Script start
Timing: Jan 19 2025 07:12:43
Module start 'layout'
Timing: Jan 19 2025 07:12:43
Module start 'content'
Timing: Jan 19 2025 07:12:44
Module end 'content'
Timing: Jan 19 2025 07:12:44
Script end

Main resources:

Total runtime0.9769 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.1563152.6250
Module start 'layout' 0.00510.0022 741.781339.4453
Module start 'content' 0.00730.9681 781.2266406.9141
Module end 'content' 0.97540.0015 1,188.14068.1641
Script end 0.9768  1,196.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3078160.0002
Check MTime0.00120.1261160.0001
Mysql Total
Database connection0.00060.064310.0006
Mysqli_queries0.938196.0278460.0204
Looping result0.00050.0517440.0000
Template Total0.941796.420.4709
Template load0.00200.202820.0010
Template processing0.939796.198120.4699
Template load and register function0.00030.031810.0003
states
state_id_array0.00110.115210.0011
state_identifier_array0.00100.104320.0005
Override
Cache load0.00160.1632180.0001
Sytem overhead
Fetch class attribute can translate value0.00080.080210.0008
Fetch class attribute name0.00060.057410.0006
XML
Image XML parsing0.00010.012710.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0675100.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs