Hi iolsmit
While the cause of the problem is clear: *.swf-files need to be served with the appropriate [Content-Disposition] header, I don't think the solution for Dokuwiki is that simple. At least I wasn't able to get it working. I have spent many hours over the past days trying to find a practical solution.
Imagine the following situation:
You have a Dokuwiki containing images and flash movies on the one hand (these need to be served with [Content-Disposition: inline]) and PDF files and downloadable QuickTime tutorials on the other (these need to be served with [Content-Disposition: attachment]).
The Dokuwiki is installed on a Ubuntu 8.04LTS box and served via the corresponding Apache 2.2 web server.
Apache-wise the Dokuwiki is served via a <Directory> directive within a <VirtualHost> directive.
At first sight, the following solution, which should unset [Content-Disposition] for flash files only, seems sensible:
<Directory /xyz>
#apache config instructions
<Files *.swf>
Header unset content-disposition
</Files>
<Directory>
However, this doesn't work for Dokuwiki due to its caching mechanism (I believe).
If you want to test whether the concept works at all, this may be tested as follows:
Use a template containing for example *.png pictures. Then use the follwing config:
<Directory /xyz>
#apache config instructions
<Files *.png>
deny from all
</Files>
<Directory>
After emptying the cache of your browser and issuing a "force-reload" command to Apache, you will not receive the *.png files belonging to the template from Apache any more. So the concept itself works.
You might think, that you can solve the issue with the following config:
<Directory /xyz>
#config instructions
<Files *>
Header set content-disposition inline
</Files>
<Directory>
So all files will be integrated into the page.
But this applies to the PDF files and the downloadable QuickTime tutorials as well. So when you click those, you'll just get "fetch.php" for download. :-/
Have you or has anyone out there found a working solution for the Flash Player 10 issue in Dokuwiki yet?
Any good hint would be appreciated! ;-)