URL Masking

With a zero-size frame.

For an example, visit: "http://domains.nobaloney.net/" using either Mozilla or Firefox. The URL will change as the site comes up; that's a simple redirect to the "https://secure.ezsecureusa.com/nobaloney/domains/" website (we do that to (a) force a secure connection, and (b) demonstrate serverwide shared certs).

Then right click and click on "This Frame | Show Only This Frame" and you'll see the url will change but nothing else will. That's because the page at "https://secure.ezsecureusa.com/nobaloney/domains/" is really just a zero-sized frame to our Dotster reseller account.

Jeff
 
Is there any way to make this work in IE as well?

Could I do something using a rewrite rule?
 
Sorry I wasn't clear; it works in all browsers.

You can't see it working as easily in IE, because IE doesn't have a button to just look at the frame contents.

Jeff
 
ballyn said:
I think I'd probably use Apache's reverse proxy to do this... See http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass

Alright, now this looks like a good idea.

I uncommented:

LoadModule proxy_module modules/libproxy.so

and

AddModule mod_proxy.c

I then reloaded apache and added this to to my httpd.conf:

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /voip https://techware.nuvio.com/html/
ProxyPassReverse /voip https://techware.nuvio.com/html/

When I try to reload apache I get an error on a line, which happens to be this line: <Proxy *>

The error is : Invalid command '

Any ideas?
 
I'm guessing you're getting this error because you you've set ProxyRequests to off. You don't need the proxy block since you're not actually proxying requests, you're doing a reverse proxy.
 
Hmm, I saw this on the documentation:

"The ProxyRequests directive should usually be set off when using ProxyPass."

What should the syntax be then?
 
A different approach which might work is use php include
e.g.

PHP:
<?php
include 'http://www.google.com/';
?>

However you may have the same issues regarding graphics, stylesheets and links that are offsite, unless the uri's (of the included page on the target site) are absolute and not relative (i.e. the target html page is written with every resource hard coded as the exact full http path)
 
keefe007 said:
http://www.techwareit.com/voip

Seems to be working...sort of...

Shouldn't it be faster?

I think the speed issue is probably because of all the missing links, etc.

I think you'll need to play with the URL space... try putting a trailing slash on the voip map or remove the trailing slash on the target URL. You'll probably want to read a bit more about the directives.
 
Back
Top