RE: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Maxim Maletsky

 
I don't think this is his case. Say, some site on geocities wants to get
on and manipulate his BB while showing it's own Geocities URL. What
would it have to do with apache?
 
It is rather like using frames. (or JavaScript of some kind) 
 
 
Maxim Maletsky 
 
 
> -Original Message-
> From: Dan Harrington [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 10, 2002 12:25 AM
> To: Erik Price
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Manipulate the address field in the browser?
> 
> 
> Sounds to me like an Apache Alias Directive is what you need.
> can you get at your apache configuration? :-)
> 
> http://httpd.apache.org/docs/mod/mod_alias.html
> 
> 
> 
> > -Original Message-
> > From: Erik Price [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 09, 2002 4:22 PM
> > To: Kevin Stone
> > Cc: PHP-general
> > Subject: Re: [PHP] Manipulate the address field in the browser?
> >
> >
> >
> > On Tuesday, April 9, 2002, at 05:44  PM, Kevin Stone wrote:
> >
> > > Here's a crazy question.  Say I have a script (such as a bulliten
board
> > > script) that is run by many clients (other websites) off of one
location
> > > on my web account.  Think of it as a service of some kind.  Is
there
> > > anyway to trick the browser into displaying the client's domain
rather
> > > than my own?  I would want it to look as though you've never left
their
> > > website when in fact you are now on mine.  Possible?
> >
> > My domain name registrar uses a neat trick called "stealth
forwarding".
> > It's probably explained in some tutorial on the web, so I won't
> > speculate on how it's done, but the principle is this --
> >
> > You have a web page hosted at a certain ISP... where the domain name
is
> > something like http://isp.com/~eprice/index.html
> >
> > But you just purchased a fancy domain name from an independent
domain
> > name registrar (not thru your ISP) and you want to point the new
domain
> > name to the old domain name.  Unfortunately, the ISP didn't give you
a
> > dedicated IP address and they won't give you a virtual host, so you
have
> > no way to map your shiny new domain name to your web site.
> >
> > Stealth forwarding essentially makes the entire browser window into
one
> > giant new frame.  The contents of the frame are
> > http://isp.com/~eprice/index.html, but because the frameset is
hosted by
> > the indie domain name registrar, and they have your shiny new domain
> > name mapped to a virtual host on their servers or something, it
looks
> > like (judging from the URL bar) a user is browsing
> > http://shinynewdomainname.com, not
http://isp.com/~eprice/index.html.
> >
> > The only problem is that (a) it relies on frames, so it might not
work
> > for all browsers (and definitely won't work for scripts), and (b)
the
> > URL never changes -- the domain name registrar is hosting the
frameset,
> > not the site, so all the URL bar ever shows is the name of the
master
> > frameset -- http://shinynewdomainname.com.
> >
> > My registrar is easyDNS, maybe they have information about how it's
done
> > if you can't find it elsewhere but I'd be surprised if you couldn't.
> >
> >
> > Erik
> >
> >
> >
> > 
> >
> > Erik Price
> > Web Developer Temp
> > Media Lab, H.H. Brown
> > [EMAIL PROTECTED]
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
 



RE: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Dan Harrington


Sounds to me like an Apache Alias Directive is what you need.
can you get at your apache configuration? :-)

http://httpd.apache.org/docs/mod/mod_alias.html



> -Original Message-
> From: Erik Price [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 4:22 PM
> To: Kevin Stone
> Cc: PHP-general
> Subject: Re: [PHP] Manipulate the address field in the browser?
> 
> 
> 
> On Tuesday, April 9, 2002, at 05:44  PM, Kevin Stone wrote:
> 
> > Here's a crazy question.  Say I have a script (such as a bulliten board
> > script) that is run by many clients (other websites) off of one location
> > on my web account.  Think of it as a service of some kind.  Is there
> > anyway to trick the browser into displaying the client's domain rather
> > than my own?  I would want it to look as though you've never left their
> > website when in fact you are now on mine.  Possible?
> 
> My domain name registrar uses a neat trick called "stealth forwarding".  
> It's probably explained in some tutorial on the web, so I won't 
> speculate on how it's done, but the principle is this --
> 
> You have a web page hosted at a certain ISP... where the domain name is 
> something like http://isp.com/~eprice/index.html
> 
> But you just purchased a fancy domain name from an independent domain 
> name registrar (not thru your ISP) and you want to point the new domain 
> name to the old domain name.  Unfortunately, the ISP didn't give you a 
> dedicated IP address and they won't give you a virtual host, so you have 
> no way to map your shiny new domain name to your web site.
> 
> Stealth forwarding essentially makes the entire browser window into one 
> giant new frame.  The contents of the frame are 
> http://isp.com/~eprice/index.html, but because the frameset is hosted by 
> the indie domain name registrar, and they have your shiny new domain 
> name mapped to a virtual host on their servers or something, it looks 
> like (judging from the URL bar) a user is browsing 
> http://shinynewdomainname.com, not http://isp.com/~eprice/index.html.
> 
> The only problem is that (a) it relies on frames, so it might not work 
> for all browsers (and definitely won't work for scripts), and (b) the 
> URL never changes -- the domain name registrar is hosting the frameset, 
> not the site, so all the URL bar ever shows is the name of the master 
> frameset -- http://shinynewdomainname.com.
> 
> My registrar is easyDNS, maybe they have information about how it's done 
> if you can't find it elsewhere but I'd be surprised if you couldn't.
> 
> 
> Erik
> 
> 
> 
> 
> 
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> [EMAIL PROTECTED]
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Erik Price


On Tuesday, April 9, 2002, at 05:44  PM, Kevin Stone wrote:

> Here's a crazy question.  Say I have a script (such as a bulliten board
> script) that is run by many clients (other websites) off of one location
> on my web account.  Think of it as a service of some kind.  Is there
> anyway to trick the browser into displaying the client's domain rather
> than my own?  I would want it to look as though you've never left their
> website when in fact you are now on mine.  Possible?

My domain name registrar uses a neat trick called "stealth forwarding".  
It's probably explained in some tutorial on the web, so I won't 
speculate on how it's done, but the principle is this --

You have a web page hosted at a certain ISP... where the domain name is 
something like http://isp.com/~eprice/index.html

But you just purchased a fancy domain name from an independent domain 
name registrar (not thru your ISP) and you want to point the new domain 
name to the old domain name.  Unfortunately, the ISP didn't give you a 
dedicated IP address and they won't give you a virtual host, so you have 
no way to map your shiny new domain name to your web site.

Stealth forwarding essentially makes the entire browser window into one 
giant new frame.  The contents of the frame are 
http://isp.com/~eprice/index.html, but because the frameset is hosted by 
the indie domain name registrar, and they have your shiny new domain 
name mapped to a virtual host on their servers or something, it looks 
like (judging from the URL bar) a user is browsing 
http://shinynewdomainname.com, not http://isp.com/~eprice/index.html.

The only problem is that (a) it relies on frames, so it might not work 
for all browsers (and definitely won't work for scripts), and (b) the 
URL never changes -- the domain name registrar is hosting the frameset, 
not the site, so all the URL bar ever shows is the name of the master 
frameset -- http://shinynewdomainname.com.

My registrar is easyDNS, maybe they have information about how it's done 
if you can't find it elsewhere but I'd be surprised if you couldn't.


Erik





Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Kevin Stone

The client's website is not guarenteed to have PHP available so I can't use
include().  Frames is a possibility though. I can see how that would work
nicely.  Dang why didn't I think of that before?  *LOL*  Well let me know if
you have any more ideas.  :)
-Kevin

- Original Message -
From: "Maxim Maletsky" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; "'PHP-general'"
<[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 3:55 PM
Subject: RE: [PHP] Manipulate the address field in the browser?


>
> Use include(). Except, for the fact that, this will be:
>
> include("http://www.yourBB.com/bb.php?this=that&that=is-not-this";);
>
> I don't know how are you going to manage the links though. You might
> want to write a client-server app to do that.
>
> Alternatively, you could simply put it in the frames. That would be WAY
> easier.
>
>
> Cheers,
>
> Maxim Maletsky
> Founder, Chief Developer
>
> PHPBeginner.com (Where PHP Begins)
> [EMAIL PROTECTED]
> www.phpbeginner.com
>
>
>
> > -----Original Message-----
> > From: Kevin Stone [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 09, 2002 11:44 PM
> > To: PHP-general
> > Subject: [PHP] Manipulate the address field in the browser?
> >
> > Here's a crazy question.  Say I have a script (such as a bulliten
> board script) that is
> > run by many clients (other websites) off of one location on my web
> account.  Think of
> > it as a service of some kind.  Is there anyway to trick the browser
> into displaying the
> > client's domain rather than my own?  I would want it to look as though
> you've never
> > left their website when in fact you are now on mine.  Possible?
> >
> > Much thanks,
> > -Kevin
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Manipulate the address field in the browser?

2002-04-09 Thread Maxim Maletsky


Use include(). Except, for the fact that, this will be: 

include("http://www.yourBB.com/bb.php?this=that&that=is-not-this";);

I don't know how are you going to manage the links though. You might
want to write a client-server app to do that.

Alternatively, you could simply put it in the frames. That would be WAY
easier.


Cheers,

Maxim Maletsky
Founder, Chief Developer

PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com



> -Original Message-
> From: Kevin Stone [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 11:44 PM
> To: PHP-general
> Subject: [PHP] Manipulate the address field in the browser?
> 
> Here's a crazy question.  Say I have a script (such as a bulliten
board script) that is
> run by many clients (other websites) off of one location on my web
account.  Think of
> it as a service of some kind.  Is there anyway to trick the browser
into displaying the
> client's domain rather than my own?  I would want it to look as though
you've never
> left their website when in fact you are now on mine.  Possible?
> 
> Much thanks,
> -Kevin


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Manipulate the address field in the browser?

2002-04-09 Thread Kevin Stone

Here's a crazy question.  Say I have a script (such as a bulliten board script) that 
is run by many clients (other websites) off of one location on my web account.  Think 
of it as a service of some kind.  Is there anyway to trick the browser into displaying 
the client's domain rather than my own?  I would want it to look as though you've 
never left their website when in fact you are now on mine.  Possible?

Much thanks,
-Kevin