[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
ImageDirSecure doesn't work
****** message to minivend-users from pacman@cqc.com ******
I'm having trouble getting images to show up on SSL pages. For example, on
the order form, the visa and mastercard logos are being referred to as
"http://"... instead of "https://"... or even just "/images/"....
I looked at the function substitute_image in Vend/Interpolate.pm, which seems
to be the one that is supposed to be inserting the ImageDirSecure, and I
inserted some debugging statements to it which revealed that $CGI::secure is
not set. https is definitely being used though.
Here are what I hope are the relevant parts of the catalog.cfg:
Variable SERVER_NAME www.example.com
Variable CGI_URL /examplestore.cgi
Variable SECURE_SERVER https://www.example.com
Variable ORDERS_TO example@cqc.com
Variable IMAGE_DIR http://www.example.com/
Variable DOCROOT /home/example/www
Variable SAMPLEHTML /home/example/www/examplestore
Variable SAMPLEURL http://www.example.com/examplestore
ImageDir __IMAGE_DIR__/
#ImageDirInternal http://__SERVER_NAME____IMAGE_DIR__/
ImageDirSecure __SECURE_SERVER____IMAGE_DIR__/
-
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