[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] not showing the vlink in the url.....someone?
****** message to minivend-users from "Christopher P. Lindsey" <lindsey@mallorn.com> ******
> I dont like this solution. I prefer that www.mycatalog.com doesnt change,
> so the user never visualizes that he is running a cgi, and ive seen this in
> a few stores made by other people....even in different sections of the store
> the www.whatever.com stays that way....
> Now, is this done using frames? I am trying to find a UNIX way to do it,
> maybe aliasing, but ive heard that it is not possible...since i dont believe
> this is possible using unix, i am asking for suggestions that might save me
> a lot of time.
This is pretty much a server dependent thing. If you're using Apache,
you want to ScriptAlias the catalog to the right place. Let's say that
your catalog.cfg has this:
Variable CGI_URL /cgi-bin/whatever.com
But you want it to show up as whatever.com/catalog instead. You
can add a ScriptAlias directive to Apache to do this:
ScriptAlias /catalog/ /mnt/WWW/whatever.com/cgi-bin/whatever.com/
You'll then need to change the CGI_URL line in minivend.cfg:
Variable CGI_URL /cgi-bin/catalog
Also change the third field in that catalog's Catalog definition
in ~minivend/minivend.cfg to /cgi-bin/catalog...
Restart the Web server, then restart minivend...
That should do it! This is a great way to have multiple sites under
Minivend with the (apparently) same catalog directory.
Chris
-
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