HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Automatically Having An SSL Connection To A Web Si...
Operating System - Linux
1828228
Members
2741
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 05:47 AM
01-20-2004 05:47 AM
Automatically Having An SSL Connection To A Web Site
I set up a server running 1.3.29 with mod_ssl. What I am looking to do is to configure the box so that when a user accesses it, the browser will automatically use SSL.
The first thing that I am planning to do is to have the server listen to only port 443. I need to set up a link so that when a user accesses the server, he/she will automatically be redirected to the correct port. What I don't want is to have the user need to include
the port when typing in the URL.
What is the best way to do this?
The first thing that I am planning to do is to have the server listen to only port 443. I need to set up a link so that when a user accesses the server, he/she will automatically be redirected to the correct port. What I don't want is to have the user need to include
the port when typing in the URL.
What is the best way to do this?
A Journey In The Quest Of Knowledge
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2004 01:47 PM
01-20-2004 01:47 PM
Re: Automatically Having An SSL Connection To A Web Site
Hello Andrew,
if you are using port 443 there is no need for an explicit port part in the URL all requests starting with https:// will use port 443 by default.
If your server only listens on port 443 the users need to know that they have to use https:// instead of http://
Another approach might be to use mod_rewrite, run the server also on port 80 and redirect all requests automatically to port 443. The rule should be similar to this
RedirectMatch permanent
/*
https://secure.server.net/*
Consult http://httpd.apache.org/docs/misc/rewriteguide.html
for details.
Greetings, Martin
if you are using port 443 there is no need for an explicit port part in the URL all requests starting with https:// will use port 443 by default.
If your server only listens on port 443 the users need to know that they have to use https:// instead of http://
Another approach might be to use mod_rewrite, run the server also on port 80 and redirect all requests automatically to port 443. The rule should be similar to this
RedirectMatch permanent
/*
https://secure.server.net/*
Consult http://httpd.apache.org/docs/misc/rewriteguide.html
for details.
Greetings, Martin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP