Solved

question for a rewrite rule and a domain

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

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

Title # Comments Views Activity
How can I write .htaccess code to redirect 301 pages? 1 141
wamp versus xampp 4 77
mod_rewrite # anchor problem. 6 52
phpmyadmin memory error 55 92
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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). #…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Suggested Courses

732 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