You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Sheridan-Peters <JS...@usp.org> on 2003/03/19 20:18:02 UTC

[users@httpd] Index redirection problem with SSL

I have a website running Apache2.0.43 with mod_ssl.

Users type in https://site.usp.org/ and get redirected to http://site.usp.org:443/index.html which, obviously, will fail.

Is this a bug or a configuration problem on my end?

Thanks!

--
James Sheridan-Peters
USP


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Index redirection problem with SSL

Posted by Jurgen <ap...@squarehosting.com>.
Hi,

it really doesn't get redirected and it is absolutely not obvious that it should fail.
If the URL you are visiting starts with https:// then the browser will connect to port 443, because this is the default port for an https connection.
http connects to port 80 as a default.
To accept https connections, which is at the same time a SSL connection you also need to configure apache so it also listens to port 443.

1. http and https can't be configured to listen to the same port.
2. To specify a different port than the default port the URL in the browser window has to look like https://mydomain.com:80/... , but I don't think this is what you are looking for.

Jurgen


On Wed, 19 Mar 2003 14:18:02 -0500
"James Sheridan-Peters" <JS...@usp.org> wrote:

> I have a website running Apache2.0.43 with mod_ssl.
> 
> Users type in https://site.usp.org/ and get redirected to http://site.usp.org:443/index.html which, obviously, will fail.
> 
> Is this a bug or a configuration problem on my end?
> 
> Thanks!
> 
> --
> James Sheridan-Peters
> USP
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org