Error 404 when uploading on Mac

Asked By 0 points N/A Posted on -
qa-featured

Unfortunately, I have a problem when uploading files from Mac OS X (on various browsers such as Safari, Firefox, Opera). Here is a description of it:

I wrote a project in Symphony framework and used SWFUpload do send files to the server. Everything worked OK when it was installed on my own Apache, at home (Linux machine).
 
The URL to my project was http://localhost and to upload_url for SWFUpload was http://localhost/file/receive (the 'receive' action in the 'file' module) worked very good!
 
The problem started when I installed my project, on the production server (let's say it's myhost.net with /home/myhost/www web folder) and registered a sub-domain for this project (swfupload.myhost.net which points on the /home/myhost/www/swfupload/web directory). It stopped working with Mac.
 
Any solution?
SHARE
Answered By 5 points N/A #87833

Error 404 when uploading on Mac

qa-featured

You are able to resolve your issue (in part) by keeping your page on swfupload.myhost.net but setting your Flash URL and upload URL to the myhost.net/swfupload/web, formatted URLs.

Then from the user's point of view you are always on swfupload.myhost.net and SWFUpload should continue to work correctly in the background, using the other URLs. Doing that may also eliminate the need for the crossdomain.xml file.

In order to host the HTML page on one domain and the .SWF file on another domain, you'll need the updated swfupload.js file from the SVN server (note, this an in development file that may not be in a working state at any given time.

Related Questions