Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-20-2007, 08:01 PM   #1
Member (10 bit)
 
Kareeser's Avatar
 
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 810
Trouble getting RedirectMatch to work...

I'm trying to do this:

User enters into browser...
http://server1/wiki

and browser outputs...
http://server2/wiki

but URL at the top still says...
http://server1/wiki

I don't have access to httpd.conf, so I'm adding lines to a .htaccess file on http://server1/wiki.

I have the following line on http://server1/wiki/.htaccess:
RedirectMatch ^(.*)$ http://server2/wiki$1

but testing that out only takes me to a blank page

The above example sounds needlessly complicated (at least, to me), and I originallly tried this:
RedirectMatch /wiki http://server2/wiki
and...
RedirectMatch / http://server2/wiki
... but neither worked... anybody have any solutions I could try? :S (or am I even supposed to be using RedirectMatch? I used Redirect, which worked great, but the user sees http://server2/wiki in the address bar at the top, which isn't what I want... and Alias/AliasMatch only seem to work for internal directories...)

Thanks in advance!

P.S. "server1" and "server2" are pseudonyms placed for this post... it just looks neater and easier to follow than if I used the actual links/IP addresses...

Last edited by Kareeser; 02-20-2007 at 08:06 PM.
Kareeser is offline   Reply With Quote
Old 03-07-2007, 09:52 AM   #2
Member (10 bit)
 
Kareeser's Avatar
 
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 810
Resolved... turns out I needed a CNAME record... registered a domain and all is well :P
Kareeser is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show off your Custom Case Work. Byte 2.0 Computer Hardware 292 03-14-2012 08:48 PM
Confused Siberian Bear Distributed Computing 15 06-16-2005 06:42 AM
Connecting to work server... KINGOFOOTBALL33 Networking & Online Security 1 05-28-2005 04:10 PM
Work out routine / Keeping fit james8547 General Discussion 4 05-22-2005 08:17 AM
Big Time Trouble configuring modem! Sumdumgi Computer Hardware 11 12-10-2001 02:56 PM


All times are GMT -5. The time now is 03:50 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2