logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: SWF wont work on httpserver but do on SunOne
Author
phipm1



Joined: 24 May 2013
Posts: 2
Location: Canada

PostPosted: Mon 17 Jun '13 19:02    Post subject: SWF wont work on httpserver but do on SunOne Reply with quote

We currently migrating over from SunOne to HTTP Server. Flash files work fine on SunOne but not on the HTTP Server.

When you go to run launch.html another window opens but the swf doesnt start playing.
Both .flv (video/x-flv) and .swf application/x-shockwave-flash are in the mime.types

Launch.html file
#####################################################
Include /opt/IBM/WebSphere/HTTPServer/conf/httpd.conf
#####################################################
#
#Listen IP address and Port Number

Listen xxxxxxx
#
###################################################

### Section 2: 'Main' server configuration
#
######### DocumentRoot ############################
#
DocumentRoot "/www/edc/docs"

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>


<Directory "/www/edc/docs">

Options FollowSymLinks
#
</Directory>
#
######### DirectoryIndex ############################################
#
directoryIndex index.html index.htm
IndexOptions FancyIndexing VersionSort
#
######### Mime Types ################################################
#
TypesConfig conf/mime.types
DefaultType text/plain

<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
#
#
########## Pidfile location,Error and Access Logs #####################
#
PidFile /opt/IBM/WebSphere/HTTPServer/logs/edc/httpd.pid
ErrorLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /opt/IBM/WebSphere/HTTPServer/logs/edc/error_%Y-%m-%d-%H:%M 86400 -360"
CustomLog /opt/IBM/WebSphere/HTTPServer/logs/edc/access_log common
CustomLog "|/opt/IBM/WebSphere/HTTPServer/bin/rotatelogs /opt/IBM/WebSphere/HTTPServer/logs/edc/access_%Y-%m-%d-%H:%M 86400 -360" common

LogLevel warn

# The following directives define some format nicknames for use with a CustomLog directive
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
#

Alias /icons/ "/opt/IBM/WebSphere/HTTPServer/icons/"

<Directory "/opt/IBM/WebSphere/HTTPServer/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

####################################################################################
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7405
Location: EU, Germany, Next to Hamburg

PostPosted: Tue 18 Jun '13 17:29    Post subject: Reply with quote

I would look first in the error log if there are issues. Than watch the headers http://www.apachelounge.com/viewtopic.php?t=4471

if all that is ok, but the swf still does not run, try another swf cause the issue is might in the swf itself (like bound to a domain name)
Back to top


Reply to topic   Topic: SWF wont work on httpserver but do on SunOne View previous topic :: View next topic
Post new topic   Forum Index -> Apache