[ic] Masking the full domain to 'cart'

Jonathan Melhuish interchange-users@interchange.redhat.com
Tue Dec 25 18:10:00 2001


On Monday 24 December 2001 20:55, you wrote:
> On Monday, December 24, 2001, at 08:46 , Jim Webster wrote:
> > I saw a while back a post that showed how to mask:
> >
> > http://www.818singles.com/~818singl/cgi-bin/cart.cgi/index.html
> >
> > To simply www.818singles.com or www.818singles.com/index.html I can't
> > remember.
> >
> > I can not find that post, can someone repost?

I should imagine you could do that without frames by using an Apache 
'Rewrite' rule.  There's loads of info here:

http://httpd.apache.org/docs/misc/rewriteguide.html

If I do this, would I be able to "rewrite" a subdirectory of my normal domain 
to my secure domain (the one with the SSL cert)?  Ie. rewite 
https://www.domain.com/secure to http://www.securedomain.com/shop1?  Would 
the browser complain that the SSL cert doesn't match the domain name?

It's not really essential, it's just that I can only install one cert (as I 
only have one IP) and hence will only have one secure domain; I just thought 
it might look neater this way.

Merry Christmas and a happy new year to everybody!

Jon