[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

remove port number from web application during redirect

Posted on 2013-12-20
3
Medium Priority
?
406 Views
Last Modified: 2013-12-21
Hi,

I need to redirect my wepage of an application from http to https without providing the port number in apache.

Currently i have done like below
<VirtualHost *:80>
      Redirect /hello.html https://xxx.xx.xx.xxx:448/contact_us.html
</VirtualHost>

but i need something like

<VirtualHost *:80>
      Redirect /hello.html https://xxx.xx.xx.xxx/contact_us.html
</VirtualHost>


SSL Configuration

<VirtualHost xxx.xx.xx.xxx:448>
        SSLEngine on
        SSLCertificateFile /etc/apache2/ssl/apache.crt
        SSLCertificateKeyFile /etc/apache2/ssl/apache.key
        DocumentRoot /var/www/html
        ServerName 172.29.57.141
</VirtualHost>


What i need is that the server should not take the port in https url, as my site is running at root

http://xxx.xx.xx.xxx/
0
Comment
Question by:Rocking
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 39732503
You need to change the port 448 to port 443.  443 is the 'normal' HTTPS port and will be used if you do Not select a port number.  http://en.wikipedia.org/wiki/HTTP_Secure

<VirtualHost xxx.xx.xx.xxx:443>
0
 

Author Comment

by:Rocking
ID: 39733223
is there any other way or mapping which can be done to set the port 448 as default port so that the port is not displayed
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 39733231
No.  You would have to rewrite all the browsers and web servers in the world to change that.  Why is port 448 important?
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question