|
Dumb question, because I'm not in the mood to read.
I have an Apache server running on my computer. Port 80 and all that.
I have another HTTP server running on lets say port 8080. Doesn't
matter what it is really, just that it's there. 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.
Where, and what change do I need to make to apache to do this.
Other details that may or may not be important:
I believe the Apache version is 1.3 or something like that.
It's running on an iMac, default install. But that doesn't matter. If
you tell me the name of the file, I can find it.
Just seeing what heights of laziness I can reach in setting up my
server.
Thanks,
Derek
|
|
Message has 1 Reply: | | 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
|
|
|
|