MiniVend Akopia Services

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

FYI ISPs and SSL Multi Domains



******    message to minivend-users from "Rob Zimmerman" <rob@readysite.net>     ******

Sorry for the title folks.... tried making it friendly to the search archives:

Success...finally,

FYI for folks running an ISP type setup, maybe use for the FAQ.......archive 
searches.....or whatever....This is how I solved  a problem, I am sure there are other 
ways, probably better, but its late and it works so here ya go .....

Goal; set up demo simple on <domain_one.com> and have it checkout under 
<secure.domain_two.com> sending encrypted CC info via PGP.  And,  
<secure.domain_two.com> is to be universally available SSL/Thawte_CA site for 
use by other hosted domains  that chose not to buy their own certificate OR mall 
customers of  <domain_one.com>

Problems encountered after successful install of minivend and demo simple. Simple 
catalog was installed at  URL <www.domain_one.com/simple>  or 
/usr/local/apache/share/sites/domain_one.com/htdocs/simple .... the catalog  at  
/usr/local/apache/share/sites/domain_one.com/catalog   ......and  vlink (simple) at 
/usr/local/apache/share/sites/domain_one.com/cgi-local/simple ....... which is a 
ScriptAlias in the httpd.conf file for <domain_one.com>; 

1.  Path problem when checking out.  The problem was that  in order to make 
<secure.domain_two.com> global to all domains its doc root has to point to the 
directory just before all domains OR /usr/local/apache/share/sites    this is 
<domain_one.com/htdocs >short of the doc root for our store.  This is the full path; 
/usr/local/apache/share/sites/domain_one.com/htdocs   for all our hosted domains. 

We are running 2 httpd daemons, one secure one non-secure. Both our store and 
our secure checkout  in our httpd.conf files have to point to the same directory 
structure. Mike has created a nice feature in the Minivned.cfg that will allow for 
multiple scriptaliases in our http.conf files and this is how the problem was solved. 
The original  Minivend.cfg catalog setting was: 
Catalog      simple    /usr/local/apache/share/sites/domain_one.com/catalogs/simple  
/cgi-local/simple

We added a forth parameter  /domain_one.com/cgi-local/simple  to this AND  as a 
ScriptAlias to the httpd.conf file in the SECURE server setup. This solved the 
catalog path problem.........

2. We still had a problem with images broken. Again it  was a path problem. They 
where still following the path set in the catalog.cfg file for simple or /simple/images 
which is /usr/local/apache/share/sites/domain_one.com/htdocs/simple/images. Our 
access when checking out through <secure.domain_two.com> was 
/usr/local/apache/share/sites/simple/images. Which makes sense because the doc 
root for <secure.domain_two.com> points there. So, we added a symlink to the 
directory 
/usr/local/apache/share/sites    simple that points to 
/usr/local/apache/share/sites/domain_one.com/htdocs/simple   and now it all 
works.  

Hopefully this info will be of use to some future user.....if not it has helped me by 
just typing it out....Time for a beer...its new years eve day  in about 15 min. Happy 
New year all!

Rob
-------

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