To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 13974
13973  |  13975
Subject: 
Re: Apache
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Sun, 1 May 2005 22:09:31 GMT
Viewed: 
4436 times
  
Thanks, for the help Dan.  Unfortunately the harddrive on my iMac failed
about 12 hours after I posted my question.

Although it's still under warranty, I don't have time before I head to
California to get it replaced, let alone setup to were I had it before.

So in about three weeks I'll be looking back at your message and trying
again.  :-(

Thanks again for the help though,

Derek


Dan Boger wrote:
> On Sat, Apr 30, 2005 at 03:54:09AM +0000, Derek Raycraft wrote:
> 
> > I want to setup Apache so when I go to a certain url its passed
> > through to the other server, with out having to do something like put
> > the port number in the url.
> > 
> > ie.
> > www.domain.com  would be covered by apache.
> > www.domain.com/otherserver would be covered by this other server
> > running on a different port.
> 
> 
> Easy. In the root of the port 80 server, create the following
> .htaccess file:
> 
>   RewriteEngine On
>   RewriteRule ^otherserver/(.*) http://localhost:8080/$1 [P]
> 
> And that should be it!  Now, requests to anything under that directory
> will be "proxied" to the other location.
> 
> HTH!
> 



Message is in Reply To:
  Re: Apache
 
(...) Easy. In the root of the port 80 server, create the following .htaccess file: RewriteEngine On RewriteRule ^otherserver/(.*) (URL) [P] And that should be it! Now, requests to anything under that directory will be "proxied" to the other (...) (21 years ago, 30-Apr-05, to lugnet.org.ca.rtltoronto)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR