try http://menuo.ch first and http://www.menuo.ch then and you will get what I mean ;-)
On Tue, Aug 25, 2009 at 5:01 PM, Arie Fishler <[email protected]> wrote: > is it a connect app or just an app within facebook? - cause in facebook > apps are accessed via a facebook url....that's what I do not get.... > > 2009/8/25 Frédéric Sidler <[email protected]> > >> allow user to access your website under http://domain.tld and redirect it >> to http://www.domain.tld >> because a facebook application cannot be redirected to your domain if the >> domain was not informed correctly (only one option) >> >> >> On Tue, Aug 25, 2009 at 4:51 PM, Arie Fishler <[email protected]> wrote: >> >>> Hi, >>> >>> Did not understand what was the exact problem you were offering a >>> solution to. :) >>> >>> 2009/8/25 Frédéric Sidler <[email protected]> >>> >>> Hello, >>>> >>>> I have a domain name where the www subdomain is very important. This is >>>> very important because this is Facebook application and Facebook requires a >>>> talk back URL. This talk back URL can be either something like >>>> www.domain.tld or domain.tld, not both. >>>> >>>> So I tried to figure out what was the best practice to do it with scalr. >>>> Here is my recipe. >>>> >>>> Two applications, a www.domain.tld application and a domain.tld >>>> application. Because you want your user to be able to access your site with >>>> domain.tld and not only with www.domain.tld >>>> A rewrite rule and a rewrite condition for your domain.tld. You need to >>>> activate the mod_rewrite first with this command >>>> a2enmod rewrite >>>> and force-reload your webserver >>>> You can put this commands either in you Apache configuration file or in >>>> a .htaccess at the root level of your scripts >>>> RewriteEngine on >>>> RewriteCond %{HTTP_HOST} ^domain\.tld$ [NC] >>>> RewriteRule ^(.*)$ http://www.domain.tld$1 [R=301,L] >>>> >>>> Maybe you have an alternative to this solution. Here was mine ;-) >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
