[ic] SecureURL is being replaced by CGI::script_name

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Wed Aug 29 10:16:01 2001


On Wed, Aug 29, 2001 at 09:40:46AM -0400, bill@worldwideimpact.com wrote:
> Interchange 4.8.1, Linux kernel 2.4.9, perl 5.6.1
> 
> I think the following lines are causing me problems.
> bin/interchange Line 1771
> $Vend::Cfg->{VendURL}   =~ s!$real!$CGI::script_name!;
> $Vend::Cfg->{SecureURL} =~ s!$real!$CGI::script_name!;
> 
> I have FullURL set to yes. I have many different Catalog aliases for 
> various reasons including separate development servers (joe.domain.com/ic, 
> fred.domain.com/ic) and for clients that simply want more than one domain 
> name (teabread.com, teabreads.com). I have only one SecureURL for each 
> catalog. When I say [process secure=1] I end up with the CGI::script_name 
> and not the SecureURL I set in catalog.cfg. For me this is not desired. 
> How can I solve this problem. What am I missing? 

I too have looked at those lines, of course in our older version
they are only at lines 1296....

FullURL brings its own set of complications.  At least in the version
we are using, domain names were case sensitive!

Simplify.

Use DNS and redirects to deal with teabreads?.com issue.  Don't
try to solve it inside ic.  That will lead you into SSL, cookie
and dropped session hell.  Just because you can be more complex 
does not mean you have to; why use 8 bits when 64 will do?

If SecureURL gives you problems for dev catalogs, just use a
different SecureURL.  You only need to change it once in the
catalog.cfg.  In our case it has to be different because we
never prototype on production machine (or daemon) so the
host and port must be different.

cfm



> 
> Thank you,
> Bill Carr
> Worldwide Impact
> bill@worldwideimpact.com
> 413.253.6700
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users

-- 

Christopher F. Miller, Publisher                               cfm@maine.com
MaineStreet Communications, Inc           208 Portland Road, Gray, ME  04039
1.207.657.5078                                         http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux