Maybe this from http://www.webweaver.nu/html-tips/web-redirection.shtml can give something extra:
"Redirect www to non www version of site
It's best to stick with either always using www.example.com or just example.com. Allowing both can confuse the search engines. So here's how to force your site to always show the non-www version. (Search for "canonical url errors" in your favorite search engine for more info.)

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]


Happy birthday osflash... in advance or in arrears...
/Hans E
http://hina.tv

Marcelo de Moraes Serpa wrote:
Hi João,

Thanks for the tip, this will surely solve the problem.

I just wish someone would tell me why this problem happens at all? I suppose it´s related to all that flash player security rules. But I already have a crossdomain.xml file with all the possible combinations, or is something wrong with it?

Thanks again,

Marcelo.

On 6/1/06, João Saleiro < [EMAIL PROTECTED]> wrote:

Marcelo,

 

You can force the visitor to access your application only from a url you chose by default by creating a .htaccess file that redirects, for example, users who came from http://chapeco[] to http://www.chapeco[]  and leaving your gateway connection always pointing to www.chapeco[]. I am sure this will solve your problem. I do not have experience with apache, so I am not sure if the following example will work, but it should be something like this:

 

RewriteEngine On

RewriteCond %{HTTP_HOST} !www.chapeco-online.com.br

RewriteRule ^(.*)$ http://www.chapeco-online.com.br/$1 [R,L]

 

Hope it works,

 

João Saleiro

 

From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Marcelo de Moraes Serpa
Sent: quinta-feira, 1 de Junho de 2006 12:45
To: Open Source Flash Mailing List
Subject: Re: [osflash] Weird swf loading issue

 

Thanks a lot for the reply Cedric! I will try that. However, I can´t avoid to think that, if I change it this way, then it will start having problems when accessing through http://chapeco-online.com.br. ..

Marcelo.

On 6/1/06, WIF <[EMAIL PROTECTED]> wrote:

Hello Marcelo!
It is your gateway connection, it is using http://chapeco-
online.com.br/website/cake_gateway.php
and not http://www.chapeco-online.com.br/website/cake_gateway.php

I bet that if you change this, you won't have anymore problems ....


Cedric

> Hello List,
>
> I´m almost finishing my RIA, and while I was testing it in the
> production enviroment, I´ve got into a very strange problem: When I
> access it with the www prefix, it doesn´t work 100%, if I access it
> without the www prefix, it works as expected, try yourself:
>
> http://chapeco-online.com.br/website/
> http://www.chapeco-online.com.br/website/
>
> Event though the IndexForm.swf seems to get loaded (see the
> progress bar "Carregando Seção") no content is shown when I access
> it through the second url. Here´s the content of my crossdomain.xml
> file:
>
> <?xml version=" 1.0"?>
> <!DOCTYPE cross-domain-policy
>   SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd ">
> <cross-domain-policy>
>
>    <allow-access-from domain="*" />
>   <allow-access-from domain="chapeco-online.com.br " />
>   <allow-access-from domain=" www.chapeco-online.com.br" />
>   <allow-access-from domain=" www.chapeco-online.com.br/website/
> files/forms/" />
>   <allow-access-from domain=" chapeco-online.com.br/website/" />
>    <allow-access-from domain=" www.chapeco-online.com.br/website/ " />
>
>
>
> </cross-domain-policy>
>
> I´m confused :(
>
> I would really appreaciate any help here!
>
> Thanks,
>
> Marcelo.
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

 


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org




_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org




_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to