RE: Re-directing problem

by "Charlton, Mark" <Mark.Charlton(at)saint-gobain.com>

 Date:  Tue, 8 May 2001 10:57:02 -0400
 To:  "'David.Artiss(at)boots.co.uk'" <David.Artiss(at)boots.co.uk>
 Cc:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
The point is that your method will ultimately fail if you are trying to use
a url string other that www.pulpsf.com or www.pulpsf.com/index.html as it is
the index.html page that has the frameset on it which calls your main site.
Unless you use something like www.pulpsf.com/index.html?review.html and then
pull the parameters from the main window, or frame parent then you won't be
able to get the requested page.

Unless you change the way the domain name is implemeted you will be unable
to use the pulpsf.com domain to it's fullest.  As I understand it you would
have to have the DNS altered to point the pulpsf.com uri to the ip of the
server for pulpsf.f2s.com and then configure the server to handle the uri
requests you will never manage to get the pulpsf.com/reviews.html method to
work.  when it return PAGE NOT FOUND for pulpsf.com/reviews.html it is not
lying, there is no such page.

Good Luck
Mark


-----Original Message-----
From: David.Artiss(at)boots.co.uk [mailto:David.Artiss(at)boots.co.uk]
Sent: Tuesday, May 08, 2001 11:51 AM
To: Charlton, Mark
Cc: hwg-techniques(at)hwg.org
Subject: RE: Re-directing problem


Ahhh, so it may just be my Javascript that needs changing.

I currently use window.location.search and extract the parameter from that.
Is
there an alternative Javascript "variable" I can use that should contain the
actual string typed in the URL bar ?

David.


"Charlton, Mark" <Mark.Charlton(at)saint-gobain.com> on 08/05/2001 14:04:17

If you look at the code for pulpsf.com you see it is just a single frame
which is pulling the code from www.pulpsf.f2s.com if you look at
http://www.pulpsf.com/index.html you can see the actual page that is loading
and setting the frames.  If you want to have it pass pages, you need to
either have the DNS actually point to your correct site host, or have some
code to read the url and redirect you as required.

Ultimately there is no redirection on pulpsf.com, only domain masking.

HTH
Mark

-----Original Message-----
From: David.Artiss(at)boots.co.uk [mailto:David.Artiss(at)boots.co.uk]
Sent: Tuesday, May 08, 2001 9:22 AM
To: hwg-techniques(at)hwg.org
Subject: Re-directing problem


Yes, sorry, I know I'm posting a bit at the moment but I just seem to be
coming
up against problems all the time ;o)

Ok. I have a site (http://www.pulpsf.com). I own the domain name and
re-direct
it to some web-space I have. Therefore pulpsf.com gets re-directed to
http://www.pulpsf.f2s.com

However, I've written in some JS that lets me pass a parameter that directs
you
to another part of the site whilst maintaining the frames (and this will
eventually be used to direct people without frame capability). However, it
doesn't seem to work. It looks like the re-direction that's set up doesn't
pass
the parameter on (the current live version of my site doesn't have the
re-direction script in it, by the way). In fact, nothing after the main site
name seems to be accepted. So typing in pulpsf.com/reviews.html should take
you
to a valid page but it doesn't work. But if I type
pulpsf.f2s.com/reviews.html
it does work.

Any suggestions ?

David.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.