Active
Project:
SWF Tools
Version:
6.x-2.5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2009 at 13:42 UTC
Updated:
6 Dec 2010 at 21:53 UTC
My setup on the Drupal site has no errors showing, and the media seem to play ok, but I'm getting errors in my Apache logs. The one that keeps showing up a lot is:
Directory index forbidden by Options directive: /var/www/www.domainame.com/web/sites/all/modules/swftools/shared/swfobject2/
I went into my vhosts conf file and added:
<Directory /var/www/www.domainame.com/web/sites/all/modules/swftools/shared/swfobject2/>
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
That seems to have done the trick, but I was wondering if this might show that I had something set up wrong in swftools?
Comments
Comment #1
theshanergy commentedI am experiencing this same problem. I've found it is caused by a setting on the 'embedding settings' page. When you have set 'Add JavaScript to all pages' the module adds an incorrect script tag to the document head:
<script type="text/javascript" src="/sites/all/modules/swftools/shared/swfobject2">When your browser attempts to load the directory, the corresponding line appears in the apache log. The conf fix above will only really remove the apache log entries, without getting to the root of the problem. You'll still have a broken script tag in your head.
I'm unable to track down the issue in code, but maybe someone else has an idea?
Comment #2
wxman commentedIt's funny, but I had to switch servers this year. I haven't seen the error since I switched. I'm still on apache, but I'm now using Centos instead of Ubuntu.