MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Image in secure page doesn't show. ImageDirSecure Directive issue.



Hi Pumin,

You should, I guess, to set up these variables into the catalog.cfg

# CatatalogName
Variable        CATALOG_NAME            catalogname
# ServerName ( for VirtualHost x.x.x.x from httpd.conf )
Variable        SERVER_NAME             catalogname.somedomain.com
# ServerName ( for VirtualHost x.x.x.x:443 from httpd.conf )
Variable        SECURE_SERVER_NAME             
secure_catalogname.somedomain.com
# ScriptAlias -//-
Variable        CGI_URL                 cgi-bin
# DocumentRoot/images -//-
Variable        IMAGE_DIR               images

ParseVariables  Yes

#####################################################################
##########

VendURL         http://__SERVER_NAME__/__CGI_URL__/__CATALOG_NAME__
SecureURL       
https://__SECURE_SERVER_NAME__/__CGI_URL__/__CATALOG_NAME__

ImageDir        /__IMAGE_DIR__/
ImageDirSecure  https://__SECURE_SERVER_NAME__/__IMAGE_DIR__/

Your images should to put into the html file like this:
<img src="image_name.jpg">
That's all. :)

Have a good day,

Alexsei
 
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 10/13/99, 4:37:14 PM, "Pumin Wuvanich" <pumin@madmacs.com> wrote 
regarding [mv] Image in secure page doesn't show. ImageDirSecure 
Directive issue.:


> ******    message to minivend-users from "Pumin Wuvanich" 
<pumin@madmacs.com>     ******

> Hello,

> On secure pages, I couldn't make minivend parse 'ImageDirSecure' and 
it
> still parse 'ImageDir' as usual.  As a result, images won't show on 
those
> secured pages.  (My secured server is on another machine.)

> Then I followed the source code, and I found that Minivend will parse
> 'ImageDirSecure', whenever it sees an environmental variable -- 
'https'.

> Does anyone know what is that variable? and why can't minivend see it 
from
> secure transaction?  If you know the answer, please spend a minute 
explain
> to me.

> I'm using Minivend 3.14, Redhat 6, Pentium III 450Mhz.
> Secured Server is using WebStar on Macintosh.

> Thank you.

> Pumin

> 
_______________________________________________________________________
__
> Pumin Wuvanich                                              Mad Macs 
Inc.
> pumin@madmacs.com                              WWW 
http://www.madmacs.net
> 
_______________________________________________________________________
__

> -
> 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





Search for: Match: Format: Sort by: