|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
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/wikiand browser outputs... http://server2/wikibut URL at the top still says... http://server1/wikiI 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$1but 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/wikiand... 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. |
|
|
|
|
|
#2 |
|
Member (10 bit)
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
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
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 |