Solved

modify for invisible redirection

Posted on 2013-11-08
3
155 Views
Last Modified: 2013-11-22
Hi there,

I would that when I type www.mydomainname.com to do a invisible redirection.
I don't want to see the ip adresse in the url

Please how to modify this code in the httaccess

SetEnv PHP_VER 5_3 SetEnv REGISTER_GLOBALS 0  Redirect permanent / https://103.0.12.21:7001/

Thanks,

Regards,

Simlip
0
Comment
Question by:simlip
[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
3 Comments
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 39644777
This is a very unusual objective, and it almost sounds like you intend to deceive the client.  Please explain why you want to do this.  If we understand your plans and needs we may be able to suggest a good way forward.
0
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 39644967
assuming you just don't want to display the IP address, you're best bet is to use apache url rewrite technique

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

735 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