Solved

question for a rewrite rule and a domain

Posted on 2006-11-08
2
183 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 500 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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). #…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

762 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