Results 1 to 3 of 3
  1. #1

    Default Dynamic Subdomains - Impressive?

    I am trying to implement Subdomain_fu at my site Classifieds, Classified Ads, Free Online Classified Ads, FREE ADS.

    But facing little bit of difficulties as my domain's extension is longer than usual (.org.in). Because of this subdomain fu returns different results.

    Any ideas?

  2. #2

    Default

    Subdomain_fu is unknown to me but, in case it helps, I use this code in a before_filter in my application.rb to get the hostname - which includes the subdomain. My application then displys different content depending on the domain name was used

    @local_host = URI.parse( url_for( :use_full_path => true )).host

    I recommend asking your question at Stack Overflow which seems to be the best place to get these sort of questions answered quickly

  3. #3

    Default

    Thanks Noel, Sorted already. I had a wrong value in environment.rb

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •