
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] SecureURL is being replaced by CGI::script_name
I started using FullURL because I wanted to simplify. It's easier for me
to use the same link file name for all of my catalogs. domin1.com/ic,
domain2.com/ic, etc. All of the catalogs I do need a domain name because
that is how most people find things on the web so I have to think about
that anyway. I like to always call the link program ic and in fact use the
same one for all catalogs. I also find it simple and convenient to have
many developers working off of the same catalog with their own pages
directory and htdocs directory. We have a set up that's working for us
where we do not have to set up a separate catalog for each developer. We
just set VendURL and PageDir using a programmed Watch Point in
catalog_after.cfg based on the CGI::http_host.
Bill Carr
Worldwide Impact
bill@worldwideimpact.com
413.253.6700
cfm@maine.com
Sent by: interchange-users-admin@interchange.redhat.com
08/29/2001 10:15 AM
Please respond to interchange-users
To: interchange-users@interchange.redhat.com
cc:
Subject: Re: [ic] SecureURL is being replaced by CGI::script_name
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
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users