The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install interchange and userdir

Discussion in 'General Discussion' started by latpanel, Aug 13, 2006.

  1. latpanel

    latpanel Well-Known Member

    Joined:
    Jan 23, 2004
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
  2. latpanel

    latpanel Well-Known Member

    Joined:
    Jan 23, 2004
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    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-bin/cart.cgi/index.html


    Well, It functions on my box, but I made a lot of tests before I find this fix :eek: .
    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 :cool:

    Thanks
     
    #2 latpanel, Aug 14, 2006
    Last edited: Aug 14, 2006
Loading...

Share This Page