Apache Proxy Redirect

Status
Not open for further replies.

97lt2959

In Runtime
Messages
169
Hey Guys,

I would like to make my Apache proxy redirect to a page i specify.

For example:

User requests google.com

Apache proxy redirects to abc.com/index.htm

Thats the just of it. The only problem is I want to block all requests and forward them to a specific page except for the ProxyPass's I have defined.

For instance:

User requests anything.

They get redirected to page123

BUT

If the user requests /webmail then follow the normal proxypass

Have i confused any one yet?:p

Thanks for the help in advance
 
You probably want to use some sort of invisible proxy on the machines? - I'm not really clear as to what you're trying to accomplish or the end result. Perhaps some examples would help?
 
Not as such. Im using apache proxy to connect a group of pcs together. There all set up and running ok. When I am upgrading my computer next week I would like the proxy to display a page say "try later" or something to those effects. I would still ilke the proxy tp forward to other internal things like the webmail I have set up etc. Im using proxy pass to redirect them using the proxy to a different pc on a different port hence i need to keep them working but i dont want any external access to websites.
 
Status
Not open for further replies.
Back
Top Bottom