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

Reply via email to