[ic] Secure server FAQs [monthly posting]
mike at perusion.com
Wed Jul 9 22:18:01 EDT 2003
These are the FAQs:
Shopping cart is dropped when using SSL.
This is a thorny question. It has many possible causes, and most often
occurs when you try to use a different secure server domain than the
regular catalog runs on. (See the next question for more info on that.)
If your secure domain is the same as the non-secure domain, it is
usually due to the user not having cookies enabled. It can be due to the
HostnameLookups (Stronghold/Apache parameter) not matching for the two
servers, secure and non-secure. It can also be caused by the user having
different web proxy addresses for HTTP and HTTPS. If it still does not
work, try changing some of the appropriate configuration parameters in
If you still are having problems, try this combination in catalog.cfg,
the catalog configuration file:
SessionExpire 10 minutes
The above setting will typically make Interchange work when it is
possible to work. Sometimes when you have multiple Interchange servers
sharing the same secure server, you will have problems after accessing
the second one. (The first one issues a session ID cookie, and that
I have a different secure server domain. Why does the shopping cart
First of all, it is questionable business practice to not certify your
issuers, customers notice the changed domain and it is proven by user
surveys and long experience that you will receive fewer orders as a
result. Certs can be obtained for $125 US per year, less than the
typical cost of one hour of a top consultant's time. Do your business
a favor -- spend the money to get a cert.
If you insist on doing it anyway, probably driven by the fact that
you need a dedicated IP address for a secure server, you can use the
solutions in the previous FAQ question and get some relief.
But by far the best way is to have all orders and shopping cart calls go
only to the secure domain. Your users may get a different session when
browsing the non-secure catalog pages, but it will matter little.
To do this on the Foundation demo, place in catalog.cfg:
AlwaysSecure order ord/basket ord/checkout
A more complete list might be:
(Thanks to John Beima for the above list.)
Add pages of your own that need to be sure of coherent
For all *forms* to be secure, make sure "process" is on that list. (Your search
forms will still be non-secure if you use "[process-search]" to produce
the form ACTION.)
To make individual order links secure, use this instead of "[order]":
To make a form-based order button secure, use "[process secure=1]" as
My images aren't there on the secure server!!!
You have a different document root, or the permissions are not such
that you can access them. You can set a different base URL for images
Don't try to set it to an http:// URL -- images will be broken anyway.
My secure pages fail when my browser is MSIE.
MSIE has several SSL bugs, particularly in V5.01. See the C<Apache-SSL>
or C<mod_ssl> FAQ. You can sometimes fix this with an httpd.conf change:
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike at perusion.com>
Fast, reliable, cheap. Pick two and we'll talk. -- unknown
More information about the interchange-users