Weather-Watch.com
May 16, 2008, 12:56:34 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Members: 6,138  Posts: 242,354  Topics: 27,955
Please welcome gsiemon, our newest member.

Latest versions: WD - 10.37k  WDL - 5.04  MML - 1.03
 News:
Check out the new FAQs (Frequently Asked Questions) board for a growing list of hints, tips and diagnostic suggestions.
  Advanced Search
   Home   Bug Tracker Photo Gallery Wiki Chat Calendar Search Login Register Help  
Pages: [1]
  Print  |  « previous  |  next »  |  Go Down  
Author Topic: WDL domain terms  (Read 1406 times)
0 Members and 4 Guests are viewing this topic.
ottar
Junior Forecaster
****
Offline Offline

Location: Norway
Posts: 95
Local Time: Friday 13:56


WWW
« on: May 15, 2006, 12:38:48 PM »

Hi
If you want WDL on domains - both with and without www (i.e. www.kroghenga.no and kroghenga.no ), I suppose this is two licenses? Is that right?

Ottar
Logged

Ottar Johansen
Skjaerhallen
Norway
JaxWeather
Bob
Senior Weather Controller
*
Offline Offline

Location: Jacksonville, Fl. USA
Station Type: Vantage Pro 2 w/ FARS + 1-wire Lightning - Logitech Pro 4000
Posts: 8,781
Local Time: Friday 08:56


MML Station: WD00007


WWW
« Reply #1 on: May 15, 2006, 01:24:10 PM »

I am not sure WDL supports two licenses in one install...

What I did was setup a .htaccess file so that if you attempt to access via 'www.jaxWeather.net/flash" it auto redirects to "JaxWeather.net/flash" which is what the license was issued for...

-Bob
Logged

Tim Hanko
Weather Guru
**
Online Online

Location: Grand Rapids, Michigan, USA
Station Type: Davis Vantage Pro II, Boltek StormTracker
Posts: 852
Local Time: Friday 07:56



WWW
« Reply #2 on: May 15, 2006, 01:52:43 PM »

Jax,

Could you provide just a bit more information here? I'd like to do the same thing.
Logged
JaxWeather
Bob
Senior Weather Controller
*
Offline Offline

Location: Jacksonville, Fl. USA
Station Type: Vantage Pro 2 w/ FARS + 1-wire Lightning - Logitech Pro 4000
Posts: 8,781
Local Time: Friday 08:56


MML Station: WD00007


WWW
« Reply #3 on: May 15, 2006, 02:04:02 PM »

It depends a bit on your web host...

However my host allows full control over .htaccess files and the use of mod_rewrite and i created a simple text file and named it .htaccess  (note it must be named exactly as indicated.)

Inside it i used the following syntax...

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.jaxweather.net
RewriteRule (.+) http://jaxweather.net/$1 [R=301,L]


As I placed this at the upper level of my web root this forces anyone visiting my site using 'www.jaxweather.net' to see the address as 'jaxweather.net' instead...

Note that the syntax may be slightly different depending on host and more on this may be viewed here:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

-Bob
Logged

Pages: [1]
  Print  |  « previous  |  next »  |  Go Up  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!