RE: [users@httpd] Problem with Redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there --

Yes that is correct. The idea is the following: If a user wants to access the
web page in question, he/she will 
enter the URL and automatically have the SSL connection to the page. There
should not be any need for the user to 
specifically type https. A person should be able to type http and automatically
have the https connection.

-----Original Message-----
From: httpd2@xxxxxxxxxxxx [mailto:httpd2@xxxxxxxxxxxx]
Sent: Wednesday, December 28, 2005 3:10 PM
To: users@xxxxxxxxxxxxxxxx
Subject: RE: [users@httpd] Problem with Redirect 



I'm not sure if you can change the protocol from http to 
https in a redirect.

According to your virtual hosts anything sent to port 80 
will get sent to SSL on port 443.

Is this what you want to do?

Keith

 

On Wed, 28 Dec 2005, Kaplan, Andrew H. wrote:

> To: users@xxxxxxxxxxxxxxxx
> From: "Kaplan, Andrew H." <AHKAPLAN@xxxxxxxxxxxx>
> Subject: RE: [users@httpd] Problem with Redirect 
> 
> Hi there --
> 
> Yes I do. Just to make sure we are on the same page with this, I have the
> virtual server section of the file shown below:
> 
> <VirtualHost (ip address):80>
> 	ServerName (ip address)
> 	ServerAdmin (email address)
> 	DocumentRoot /var/www/html
> 	Redirect / https://(ip address)
> </VirtualHost>
> 
> <VirtualHost (ip address):443>
> 	ServerName (ip address)
> 	ServerAdmin (email address)
> 	DocumentRoot /var/www/html
> 	
> 	SSLEngine On
> 	SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> 	SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> 	SSLCertificateChainFile /etc/httpd/conf/ssl.key/server.key
> 	SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> </VirtualHost>
> 
> -----Original Message-----
> From: httpd2@xxxxxxxxxxxx [mailto:httpd2@xxxxxxxxxxxx] 
> Sent: Wednesday, December 28, 2005 1:44 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] Problem with Redirect 
> 
> 
> Hi Andrew.
> 
> Do you have a seperate Virtual server listening on port 80 
> for the standard non-SSL requests, and a seperate 
> SSL-enabled virtual server listening for connections on post 443?
> 
> Keith
>  
> 
> On Wed, 28 Dec 2005, Kaplan, Andrew H. wrote:
> 
> > To: users@xxxxxxxxxxxxxxxx
> > From: "Kaplan, Andrew H." <AHKAPLAN@xxxxxxxxxxxx>
> > Subject: [users@httpd] Problem with Redirect 
> > 
> > Hi there -
> > 
> >  
> > 
> > I have Apache 2.0.52 running on one of our servers and I am having problems
> with
> > redirecting port 80 connections to port 443. 
> > 
> > When I type the url: https://<web address>, I get to the page in question.
> > However, when I type the URL: http://<web address>,
> > 
> > I do not get the connection. 
> > 
> >  
> > 
> > I modified the /etc/httpd/conf/httpd.conf file to automatically have port 80
> > connections go to 443 via the virtual host section. Are
> > 
> > there additional modifications that I need to make? Thanks. 
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux