[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] removing .../cgi-bin/catname/... from URLs


On 12/13/2006 05:49 PM, DB wrote:
>>> Now I've set up another machine and another store, but on this new one
>>>
>>> [page home]home</a>
>>>
>>> sends me to
>>>
>>> http://domain2.com/cgi-bin/catname/home.html
>>>
>>> I can't for the life of me remember how I got the simplified urls to be
>>> the default. I have the rewrite rules in place on the new store, but
>>> what's the magic I need to have IC use the simpler URLs by default? Can
>>> anyone jog my memory?
>> In your interchange.cfg Catalog definition, the last path prefix alias is 
>> the one that will be used for writing URLs. E.g.:
>>
>>    Catalog  mycat  /home/someuser/catalogs/mycat  /cgi-bin/mycat  /
>>
>> [area home] -> http://domain2.com/home.html
>>
>> Whereas:
>>
>>    Catalog  mycat  /home/someuser/catalogs/mycat  /  /cgi-bin/mycat
>>
>> [area home] -> http://domain2.com/cgi-bin/mycat/home.html
>>
>> Jon
> 
> 
> Hi - I've verified that Catalog definition indeed has the format:
> 
> Catalog  mycat  /home/someuser/catalogs/mycat  /cgi-bin/mycat  /
> 
> yet IC is still including the .../cgi-bin/mycat/... in the URLs. I
> restarted IC just for kicks yet still no luck. Can you suggest a way to
> troubleshoot?
> 
> I've noticed that the misbehaving store has a CGI_URL defined in the
> Prefernces tab of the Admin GUI, but the behaving store does not. Could
> this be the cause?

Indirectly, yes.  Look for VendURL and SecureURL in catalog.cfg.  Also see:
<http://www.interchange.rtfm.info/icdocs/config/VendURL.html>
<http://www.interchange.rtfm.info/icdocs/config/SecureURL.html>

Peter

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.