In order to have https://www.mysite.com/index.php3  ... note the https.

You need to enable it in your httpd.conf file under
/etc/httpd/conf

The statement should look something like this:

<VirtualHost 24.5.24.89:443>
DoucmentRoot /home/mysite/htdocs
ServerName www.mysite.com

SSLEngine on
SSLCertificatFile conf/server.crt
SSLCertificateKeyFile conf/server.key

</VirtualHost>


https binds to 443.  http binds to 80.  These are two different
protocols.  When your ISP initially setup your account, they only enable
http for your virtual host.

I hope that answers your question.  If not, keep posting and we'll get to
the bottom of it. 

kent




On Mon, 17 Apr 2000, Alan McCoy wrote:

> My web host uses a different URL for its SSL connections like so:
> 
> SSL:            https://server4000.net/mysite/index.php3
> non-SSL:      http://www.mysite.com/index.php3
> 
> I thought I had things set correctly in my standard_library ScreenURL
> setting, but whenever the SERVER_NAME switches over to the SSL server, it
> retains the "http://" instead of "https://"
> 
> If anyone else out there has had this problem switching back and forth
> between two servers, please let me know how you worked around it. I am truly
> at my wits end.
> 
> Just for reference, this is what I have so far:
> 
> function ScreenURL($screen, $secure=FALSE, $extra='')
>  {
>   global $sid;
>   global $UserInfo;
> 
>   if(USE_SSL AND $secure)
>   {
>    $URL = "https://server4000.net/mysite";
>    $URL .= EXTERNAL_PATH . SCRIPT_NAME . "?SCREEN=$screen";
>   }
>   else
>   {
>    $URL = "http://";
>    $URL .= SERVER_NAME . EXTERNAL_PATH . SCRIPT_NAME . "?SCREEN=$screen";
>   }
> 
>   if((!USE_COOKIES) OR (!COOKIE_FOUND))
>   {
>    $URL .= "&amp;sid=$sid";
>   }
> 
>   if(is_array($extra))
>   {
>    for(reset($extra); $key=key($extra); next($extra))
>    {
>     $URL .= "&amp;$key=" . prepareText($extra[$key]);
>    }
>   }
> 
>   return($URL);
>  }
> 
> Thanks in advance for any assistance with this!!
> 
> ________________________________________
> Alan McCoy
> [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