Solved

question for a rewrite rule and a domain

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now