Share » Forums » Setup & design » Add Media files types.

Add Media files types.

Add Media files types.

Monday 18 July 2005 11:52:26 am - 4 replies

Author Message

Daniel Guerrier

Monday 18 July 2005 7:57:53 pm

what I'm trying to do is load the .flv dynamically into a flash file. I created an xml doc that has the direct path to the file but ez does not allow access to it and defaults to the index page.

Luc Chase

Tuesday 19 July 2005 11:12:33 am

Daniel,
have you checked that your Apache RewriteRules are not part of the problem?

The Web Application Service Provider

Daniel Guerrier

Wednesday 20 July 2005 7:03:50 am

Not sure, it is currently set to what is in the install doc.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule !(((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf))|^/extension/phpadsnew/phpadsnew/.*)$ /index.php
</IfModule>

Daniel Guerrier

Wednesday 20 July 2005 7:07:13 am

Ok, that was it.
I needed to specify the flv extension

so this
RewriteRule !(((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf))|^/extension/phpadsnew/phpadsnew/.*)$ /index.php

becomes this
RewriteRule !(((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|flv))|^/extension/phpadsnew/phpadsnew/.*)$ /index.php

notice the flv extension added near the end.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu