troubleshooting Question

URL redirection : apache 2.2

Avatar of mnkshy
mnkshy asked on
Apache Web Server
6 Comments1 Solution336 ViewsLast Modified:
Hi,

I am running a web portal over apache 2.2.

My html files are located at: D:\web\apache\htdocs\drupal-4.6.3, and I have been accessing my web portal using the URL:
http://mymachineIP/drupal-4.6.3.

I want to define a new URL, http://newweb/ipe, and have all requests to this URL be redirected to http://mymachineIP/drupal-4.6.3.

I followed the instructions here: http://httpd.apache.org/docs/1.3/misc/howto.html
Added the following lines to my httpd.conf:

Redirect /  http://newweb/ipe
RewriteEngine On
RewriteRule /.* http://newweb/ipe [R]

This didnt work for me, could someone help me out with this please.

Thanks,
Meenakshi.

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros