Forbidden when accessing swf file

Author Message

Daniel Farray

Wednesday 28 November 2007 8:41:31 pm

Can someone point me in the right direction?

I placed a file in the following path:

/var/mysite/storage/images/an_photo_large.jpg

and I can access directly in the browser but if a place a flash file like:

/var/mysite/storage/images/an_photo_large.swf

I get a forbidden error. I get the same error if I place the file in the design folder. I need to reuse the flash file to use it in a header.

Thank you

Atle Pedersen

Thursday 29 November 2007 12:21:19 am

Sounds to me like a problem with your apache rewrite rules.

Check out http://ez.no/doc/ez_publish/technical_manual/3_10/installation/virtual_host_setup

Or if you have an 'old style entry' like this:
RewriteRule !\.(js|gif|css|jpg|png|ico) /var/mysite/index.php
add swf to the line.

Daniel Farray

Thursday 29 November 2007 12:33:26 pm

thanks the "AllowOverride None" did the job.

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