Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    134

    Default Install interchange and userdir

    Is there any way to install interchange cart so that it can be call withaout ~userdir?
    For instance,
    A client named johny has a server named www.tools.com. When he installs interchange the cart URL is http://www.tools.com/~johny/cgi-bin/cart.cgi/

    And I want to have a URL more simple like http://www.tools.com/cgi-bin/cart.cgi, for example

    Thanks

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    134

    Talking Fixed

    I answer myself

    I've found that, to avoid the ~user in URL of an interchange cart, It's enough to follow this steps:
    1. Edit interchange.cfg and eliminate each ~username/. Using vim
    :1,$s/\~username\//g
    2. Edit products/variable.txt and eliminate each ~username/. Using vim
    :1,$s/\~username\//g
    3. Restart interchange
    su -c "/usr/local/cpanel/3rdparty/interchange/bin/interchange -r" cpanel

    (Of course username is the name of the account where catalog is installed )

    Now the URL of interchange catalog will be
    http://www.server.com/cgi-bin/cart.cgi/index.html

    Instead of
    http://www.server.com/~username/cgi-...cgi/index.html


    Well, It functions on my box, but I made a lot of tests before I find this fix .
    Even I installed Interchange by hand , but it gave me an error about interchange server not running!!!


    Next thing is to get an spanish translation

    Thanks
    Last edited by latpanel; 08-14-2006 at 04:40 AM.

Similar Threads & Tags
Similar threads

  1. mod userdir issue
    By Zion Ahead in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-06-2006, 04:13 PM
  2. Interchange Install Bug
    By PCZero in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-14-2004, 08:52 AM
  3. Interchange Install Issues
    By tonez in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 11-03-2002, 04:31 PM
  4. how do I install Interchange 4.8.3?
    By oSM in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-30-2001, 07:05 AM
  5. Interchange - Manual Install on Account
    By pfmartin in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-11-2001, 05:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube