[ic] SSL Errors

John Beima interchange-users@lists.akopia.com
Tue Jun 5 16:21:01 2001


Basicly Dan, you have three variables....

__SERVER_NAME__
__SECURE_SERVER__
__IMAGE_DIR__

An image loaded off of the regular server is done by:

<IMG SRC="http://__SERVER_NAME____IMAGE_DIR__/image.gif">

An image loaded off of the SSL server is done by:

<IMG SRC="__SECURE_SERVER____IMAGE_DIR__/image.gif">

Given __IMAGE_DIR__ = /images...

Unless the two servers root directories are the same the /images will look at
two different places in two different directories...

So what we do is on the main server we add one level... Instead of it being
/images off of the document root we change it to one level deaper to
/site/images off of the main server....

Now on the SSL we add a /site link back to the /site/images directory in the
main server, effectly linking the two servers image directoies togeither..

This way either a www.domain.com/site/images or ssl.domain2.com/site/images wind
up in the same directory on the hard drive...

The reason we don't just link the /images togeither is most likely you want your
SSL server to have it's own private /images directory, so to avoid confusion we
move the other one, one level deaper in the tree...

I hope that helps...

John


Quoting Dan McFarland <dan@mailturtle.com>:

> Sorry...
> 
> but in english now? :)
> 
> I have an NT brain and am still learing Linux.  What you just said made
> sense, but I am not sure how to do it all.
> 
> Dan
> 
> 
> ----- Original Message -----
> From: John Beima <jbeima@palb.com>
> To: <interchange-users@developer.akopia.com>
> Sent: Monday, June 04, 2001 11:52 AM
> Subject: Re: [ic] SSL Errors
> 
> 
> > This has an easy little work around...
> >
> > Change your IMAGE_DIR variable from /images to /site/images then make
> a
> syn link
> > from your SSL server to the base HTML directory called site... Then
> make a
> > sub-directory in your base html directory called site. Then go into
> the
> site
> > sub-directory and make a sym link tothe images directory from there...
> >
> > Wa La...
> >
> >
> > Quoting Dan McFarland <dan@mailturtle.com>:
> >
> > > When a user goes to the secure pages, the images appear as broken
> links.
> > > What can I do to correct this?
> > >
> > > Thanks!
> > >
> > > Dan
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Interchange-users mailing list
> > > Interchange-users@lists.akopia.com
> > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> >
> >
> >
> > John Beima
> > jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
> >
> > P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> > 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
> >
> > Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> > 2713B Spring Place SW, Decatur, Alabama, United States, 35603
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> 



John Beima
jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com

P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6

Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
2713B Spring Place SW, Decatur, Alabama, United States, 35603