MiniVend Akopia Services

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

Re: separate secure directory



Um.. does tlink or vlink have to be in cgi-bin?? Right now I got both tlink and
vlink in ~/mvend/bin and nowhere else. Simple catalog works just fine (except
for ssl). Am I missing something?

In short, my setup is:

https://secure.sandwich.net/sil  is my secure URL
http://sil.sandwich.net          is my normal URL

/home/sil/securedocs             is my secure document location
/home/sil/webdocs                is my normal document location

there are no cgi-bins, scripts run from anywhere provided they have .cgi
extention. 

/home/sil/webdocs/simple.cgi     is simple catalog

now, the problem is that I can tell minivend where my docroot is (~/webdocs), I
can tell mvend where secure URL is, I can also tell it where normal URL is. All
of that is in catalog.cfg. BUT I can't tell mvend where the secure
docroot is (~/securedocs). When I try to checkout in simple catalog, it goes to
secure URL and web server looks in ~/securedocs and doesn't find anything there
because docroot defined in mvend is ~/webdocs and thats where simple catalog
pages are. As far as I understand, usual setup implies that there's one
docroot, for both secure and normal pages, ie when web server sees secure URL
it goes to look for requested pages in normal docroot, but encrypts them with
SSL. In this case, not only secure URL is different, but location for secure
docs is also different. The question is, if I just copy catalog to secure
docroot, will it be able to 'synchronize' them correctly? Or should I look for
a new webspace provider? :)




On 08-Aug-99 silmarill@mindspring.com wrote:
> ******    message to minivend-users from silmarill@mindspring.com     ******
> 
> 
> On 07-Aug-99 Kyle Cook wrote:
>> ******    message to minivend-users from Kyle Cook <kyle@invisio.com>    
>> ******
>> 
>> Andei,
>>       We would need a little more info to see if we can help.
>> 
>> 1) how do you access your secure directory via the web?
>> (https://www.yourisp.com/~user  maybe?)
> 
> https://secure.sandwich.net/sil
> 
>> 
>> 2) do you have a cgi-bin in that secure directory or
>> can you use your main cgi-bin for both
>> (question for your isp if you don't know)
> 
> I don't have cgi-bins at all. All files with .cgi extension can be executed
> as
> scripts.
> 
>> 
>> depending on your answers above you would set SecureUrl to
>> something like:
>> 
>> SecureURL               https://www.YOURISP.com/~USER/__CGI_URL__
>> 
>> in your catalog.cfg file (then do a reconfig or restart)
>> 
>> If you have a separate cgi-bin though, you will have to copy the 
>> tlink or vlink (catalog executable in your cgi-bin) to the other
>> cgi-bin (and change permissions to match)
> 
> So, with simple.cgi catalog (http://sil.sandwich.net/simple.cgi), located in
> /home/sil/webdocs/simple.cgi, I would have to copy simple.cgi to
> /home/sil/securedocs/ , right? Would that work right, I mean, let's say a
> person goes to insecure simple.cgi, then clicks on link to secure page, which
> points to a different copy of simple.cgi, would all cart information be
> passed
> on? It should, since it's stored in a cookie, but I'm a bit worried about
> just
> making a copy of .cgi file. Is this a common practice or is this server I'm
> using set up weirdly? 
> 
>> 
>> Hope this helps.
>> Kyle Cook
>> 
>> 
>> At 05:26 PM 8/7/99 -0500, you wrote:
>>>******    message to minivend-users from silmarill@mindspring.com     ******
>>>
>>>Hello,
>>>
>>>My web space provider has a separate directory for Secure server. While
>>>regular docs are in ~/webdocs, secure ones are in ~/securedocs. I apologize
>>>if
>>>I missed it, but I can't find reference on how to handle this situation in
>>>minivend. It seems to imply that there's one document root which is accessed
>>>from regular url or secure url. Any feedback is appreciated. 
>>>
>>>- Andrei
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>----------------------------------
>>>E-Mail: silmarill@mindspring.com
>>>Date: 07-Aug-99
>>>Time: 17:22:01
>>>
>>>This message was sent by XFMail
>>>----------------------------------
>>>-
>>>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
>> 
>> 
>> http://www.invisio.com 
>> Web site design, database driven sites,
>> and shopping cart programming. 
>> Great sites, value priced!
>> 
>> -
>> 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
> 
> ----------------------------------
> E-Mail: silmarill@mindspring.com
> Date: 07-Aug-99
> Time: 20:19:31
> 
> This message was sent by XFMail
> ----------------------------------
> -
> 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

----------------------------------
E-Mail: silmarill@mindspring.com
Date: 07-Aug-99
Time: 21:07:12

This message was sent by XFMail
----------------------------------


Search for: Match: Format: Sort by: