Install interchange and userdir

latpanel

Well-Known Member
Jan 23, 2004
134
0
166
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
 
Last edited: