Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 813361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:20:47+00:00 2026-05-15T01:20:47+00:00

I have wildcard subdomains for example: .example.com goes to example.com/app/ It seems uploadify works

  • 0

I have wildcard subdomains for example:

.example.com goes to example.com/app/

It seems uploadify works fine if I use the directory instead of the subdomain. But when I use the subdoman and click on the upload image nothing happens. It seems to load the flash fine and no JS errors but when I click on the button I do not get a file browser. Maybe the way I do the wildcard domains affects it, not sure. here is my htaccess:

RewriteCond %{HTTP_HOST} ^(.*).example.com
RewriteCond %{HTTP_HOST} !^www.example.com [NC]
RewriteRule ^(.*)$ http://example.com/app/%1/$1 [P]

I also use the full path to call the js and flash files. They are not located under the subdomain but under the root domain. So I just use the full url path, here is an example of my js:

$("#fileInput").uploadify({
      'uploader'       : 'http://example.com/js/upload/_scripts/uploadify.swf',
      'script'         : 'http://sub.example.com/discuss/upload/do_upload/' + session_id,
      'cancelImg'      : 'http://example.com/images/icons/del.png',
      'folder'         : '/files/',
      'multi'          : true,
                'auto' : true,
                'queueSizeLimit' : 10,
                'buttonImg' : 'http://example.com/images/attachafile2.jpg',
                'width' : 91,
                'height' : 23,
                'wmode' : 'transparent'
   });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:20:47+00:00Added an answer on May 15, 2026 at 1:20 am

    uploadify uses flash to perform the upload. Flash is subject to the same origin policy, much like a native browser, except that it has a loophole.

    Flash will look for a file called crossdomain.xml at the root of the webserver. This XML file dictates which other domains may access its contents via flash.

    For example, here is twitter’s crossdomain file

    It may be sufficient in your case to create or modify this file to accept connections from the various domains involved.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have the following domain: example.com I have a Wildcard SSL certificate for
What I have currently: A wildcard DNS record. So that every subdomain points to
I have created a wildcard App ID and have some questions about bundle ID
I have configured the wildcard DNS of *.mydomain.com and it's all working properly. My
I have a domain with wildcard - *.mysite.com hosted on Server1 I am planning
I have a query that searches for clients using like with wildcard. For example:
How can you have the wildcard character, for example in the following code? \graphicspath{{1/*/pictures/}}
I have an existing SSL certificate for a domain name. (It's actually a wildcard/subdomain
I have my DNS configured to accept any subdomain (wildcard *), but I am
I want to use subdomains instead of subfolders. Unfortunately, since my host doesn't allow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.