|
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 (...) (20 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
|
|
|
|