logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Creating a Virtual to allow requests to an IP address
Author
oliverm



Joined: 14 Jul 2006
Posts: 5

PostPosted: Sat 15 Jul '06 10:29    Post subject: Creating a Virtual to allow requests to an IP address Reply with quote

Hi,

I have my apache install setup (i think), and requests to my main few domains are working. However, I now want to deal with requests to

http://192.168.0.1

and redirect them to some pages on the webserver.

Anyone know what virtual site settings I need to include to deal with such requests? I tried a servername of the IP but that didnt work.

Thanks

Olly
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Sun 16 Jul '06 17:17    Post subject: Reply with quote

RTM:
ProxyRequests Off

<Proxy *>

Order deny,allow
Allow from all

</Proxy>

ProxyPass / http://foo.example.com/bar
ProxyPassReverse / http://foo.example.com/bar

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#forwardreverse
Back to top


Reply to topic   Topic: Creating a Virtual to allow requests to an IP address View previous topic :: View next topic
Post new topic   Forum Index -> Apache