File attribute: .flv [SOLVED]

File attribute: .flv [SOLVED]

Tuesday 12 October 2010 3:52:13 pm - 3 replies

Modified on Sunday 17 October 2010 12:31:44 pm by Lo' F.

Author Message

Heath

Tuesday 12 October 2010 3:59:20 pm

Hello Lo' F,

Sounds like you have a web server configuration issue.

If you put the video url in a browser and can't access the file

and it's giving a web server error page chances are you have a web server configuration issue.

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Lo' F.

Wednesday 13 October 2010 1:04:13 pm

Sounds like you have a web server configuration issue.

Thank you Heath. You are absolutely right.. that's the issue.

I added the .flv mime type to the server configuration setting (/etc/mime.types) this way..

flv-application/octet-stream
video/x-flv                    flv

but the problem still lingers.

Also tried to add this line to .htaccess..

AddType video/x-flv .flv

but no result.

Of course, restarted the vps (..Linux server) after the changes..

loredanaebook.it

Lo' F.

Sunday 17 October 2010 12:31:19 pm

I added the .flv extension in the .htaccess file as follows..

<FilesMatch "(^index\.php|favicon\.ico|index_treemenu\.php|\.(gif|jpe?g?|png|flv|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf)$">
order allow,deny
allow from all
</FilesMatch>

...

RewriteRule !(\.(gif|jpe?g?|png|flv|css|js|swf|html?)|var(.+)storage.pdf(.+)\.pdf)$ index.php

and now it works!

loredanaebook.it

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

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