?
Solved

question for a rewrite rule and a domain

Posted on 2006-11-08
2
Medium Priority
?
186 Views
Last Modified: 2011-09-20
Hello

in my httpd.conf i have the following

<VirtualHost xx.xxx.xxx.xxx:80>
        ServerAdmin webmaster@mydomain.com
        ServerName www.mydomain.org
        RewriteEngine On
        RewriteRule   ^(.+)         http://www.myserver.com/bmission [R,L]
</VirtualHost>

this works, but is there anyway to keep the domain name in the URL cause now when i do it  and they enter the URL
www.mydomain.org it displays http://www.myserver.com/bmission 

Thanks
randy
0
Comment
Question by:paries
[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 Comments
 
LVL 16

Accepted Solution

by:
HackneyCab earned 2000 total points
ID: 17903119
I'm not really sure what it is you're trying to achieve, but I do know that if you use RewriteRule to go from one domain to another, it has to be done by sending a redirect to the browser. Which means the address bar will change.
0
 

Author Comment

by:paries
ID: 17903187
Thanks, just needed verification
0

Featured Post

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

801 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