This is a problem I just realized when I tried to send secure and not secure
pages to entirely different domains.  In my case my client is on a hosted
system with a shared SSL, so if I continue to use the aliased url to the
secure server it generates a certificate does not match domain name sort of
error.  I have yet to look to see where the url is appended so if anyone
already knows where and why that would be groovy.

Chuck

> -----Original Message-----
> From:
> Sent: Sunday, October 15, 2000 5:09 PM
> Subject: Re: [FreeTrade] Path problems
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: from cgi.clearink.com (papura.clearink.com [205.227.191.14])
>       by addr.com. (8.9.3/8.9.1) with SMTP id UAA08589
>       for <[EMAIL PROTECTED]>; Sun, 15 Oct 2000 20:09:16 -0700 (PDT)
>       (envelope-from [EMAIL PROTECTED])
> Received: from silveregg.co.jp by cgi.clearink.com with SMTP; Sun, 15 Oct
>  2000 20:07:44 -0700
> Message-ID: <[EMAIL PROTECTED]>
------8><-------
> Status:
>
> This brings up a question that I have always had about Freetrade.
>  Is there
> any reason why Freetrade includes the host name in the urls that
> it encodes
> in the pages it generates?  If you serve a page which just includes a path
> to the page, then the browser will automatically prepend the host of the
> page.
>
> It seems like letting the browser handle this would solve some setup
> problems.  When we have done some testing with Freetrade, it has sometimes
> been desirable to run with the IP address and no host name
> (http://192.168.0.2/Index.php3)  Or even on a different port.
> (http;//localhost:9000/Index.php3)  Both of these cause problems
> if the host
> name in Apache's config file does not match.  It Freetrade simply
> served the
> url minus the host (/Index.php3)  Then these should all work.
>
> It looks like there has been a lot of work done to resolve and encode the
> host name in the URLs so I am sure that there is a reason why it is
> sometimes required, I was just wondering what it is.
>
> Thanks,
> Leif
>
> Bjarne Hansen wrote:
>

> > Hi Shawn!
> >
> > Using Windows is not all so cool... I use WIN 98 and Apache. It running
> > ok, for test, but I have a smular problem. So what I do is edit the path
> > in the index.php, like this:
> >
> >         #define("SERVER_NAME", $SERVER_NAME);
> >         #define("SCRIPT_NAME", basename(__FILE__));
> >         #define("APPLICATION_ROOT", dirname(dirname(__FILE__)));
> >         #define("EXTERNAL_PATH", dirname($SCRIPT_NAME) . "/");
> >
> >         define("SERVER_NAME", "localhost");
> >         define("SCRIPT_NAME", basename(__FILE__));
> >         define("APPLICATION_ROOT", "C:/Apache/htdocs/master/");
> >         define("EXTERNAL_PATH", "/master/htdocs/");
> >
> > The hashed out ones is of cause the way it is by default. When I upload
> > to Unix I just reverse the hashes.
> >
> > Hope this can help you
> >
> > Bjarne
> >
> > > Shawn Honeychurch wrote:
> > >
> > > Hello;
> > >
> > > I think I am going crazey.  I had a complete system crash from Win NT4
> > > and decided to go to Win 2000pro.  The OS is great, but i cannot get
> > > freetrade to run now.  I have tried both the Xitami webserver and IIS5
> > > with no luck.  I installed the latest version of php4 and i can get
> > > the index.php3 page to load fine and connect to mysql without
> > > problem.  But all my other links show up as http:///index.php3?etc, I
> > > cannot figure out how to get the full path info to show up.  Any ideas
> > > folks?
> > >
> > > Shawn
> >
> > ------------------------------------------------------------
> > To subscribe:    [EMAIL PROTECTED]
> > To unsubscribe:  [EMAIL PROTECTED]
> > Site:            http://www.working-dogs.com/freetrade/
> > Problems?:       [EMAIL PROTECTED]
>
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to