Solved

question for a rewrite rule and a domain

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHPmailer and exchange online(Office365) 3 350
Running Guacamole on port 80 5 212
ProxyPass - Problem 5 148
Why Xampp showing MySQL as Maria DB on Welcome Page ? 8 71
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…
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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