[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: ImageDirSecure doesn't work
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
At 02:33 PM 6/4/99 , Alan Curry wrote:
>****** message to minivend-users from "Alan Curry"
<pacman-mvend@cqc.com> ******
>
>I wasn't subscribed to the list when I sent my first post, and I didn't know
>it would be Reply-To munged (which is evil BTW), so I'm quoting from the web
>archive...
Everything is evil to somebody.
>
>Stefan Hornburg <racke@linuxia.de> wrote:
>>But his configuration is broken,
>>
>>[...]
>>
>>> >Variable SECURE_SERVER https://www.example.com
>>> >Variable ORDERS_TO example@cqc.com
>>> >Variable IMAGE_DIR http://www.example.com/
>>
>>[...]
>>
>>> >ImageDirSecure __SECURE_SERVER____IMAGE_DIR__/
>>
>>The result is https://www.example.comhttp://www.example.com/ !!
>
>No, it isn't. Maybe it would be if ImageDirSecure was being used at all, but
>what I'm getting in the output is
Well, that is what it should be.
><IMG SRC="http://www.example.com//smallvisa.gif> >and Netscape won't show
it because it's an http image being referenced from >an https page. > >If I
set IMAGE_DIR to / then I get
>and Netscape won't show it because it's an http image being referenced from
>an https page.
Perhaps if you posted some of the page source....
>
>If I set IMAGE_DIR to / then I get <IMG SRC="http://product.gif> on the
>product pages, and
>product pages, and <IMG SRC="https://smallvisa.gif> on the ordering page.
>
>So I ask you, what configuration _does_ work?
On my checkout page, my images are raw HTML'ed like this:
<img src="/logo_l.gif" LOWSRC="/0.gif" HEIGHT=110 WIDTH=348 ALT="Gary
Yamamoto Custom Baits">
MY parsed HTML (view source) from the secure checkout page appears like this:
<img src="/logo_l.gif" LOWSRC="/0.gif" HEIGHT=110 WIDTH=348 ALT="Gary
Yamamoto Custom Baits">
This is portable, ALWAYS looks in the HTML root of which ever
server/domain it is currently on. (Equiv to
https://www.whereIamcurrentlyat.com/logo_l.gif -- this technique is valid
HTML1.0)
Besides, if you DID get the config right, working, whatever, you would be
wasting bytes by specifying
https://www.yourminivendsite.com/sample/images/whatever... and we all know
that bytes are expensive.
I understand that if your images were somewhere other than where your
secure page was located you may wish to 'fix' it to point somewhere else.
You could even use <img src="/sample/images/logo_l.gif"> ... wherever you
wish to place your images.
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list