Posts

Showing posts with the label proxy

RedirectMatch not workding with Forward Chaining Proxy in Apache

RedirectMatch not workding with Forward Chaining Proxy in Apache I am trying to configure apache server as a forward proxy chaining to another (internet)proxy while at the same time including RedirectMatch directives to redirect certain urls to the local host instead of chaining to the remote proxy. diagram http://www.plantuml.com/plantuml/png/TP7DIiH03CVlUOhGUt6zBQMKLK4GL9O57s1s6cbXd9GqQzUtDsLBwTHwcKFoc_y7EVJgH2zV0SvynUpub45dWzQtdOkAZy93JvBCieVE-OQA_Mw_ox0iFra69pLsmjUVgjfcxqToeBE9VPCOHR56iqpevvlISHHA5YzHII8fm1G8ysgLey2B1711yKHrA-JrpQblvWzbdl_v8HE9oXZOkz1mhvRrBjBmSNfTcYLD2bm19fuGGA4dVETRXDGshvAUK_3bo92vyTRQtERzIdnSBTd_wyDu0JZOOyV_1G00 The redirect without the forward proxy chaining directives works. The forward proxy chaining works with or without the redirect directive but if I have both the redirect and the chaining configured any url that matches the redirect returns a 404 Here is a copy of the conf ServerRoot "c:/bin/Apache24" Listen 81 ... Listen 8080 <VirtualHost *:8...

apache ubuntu forward ip to url name

apache ubuntu forward ip to url name I have some services running on an old computer running ubuntu server, and they resolve to an ip address and a port number, like 192.168.1.166:6789 brings me to that services web UI. I also have apache running on this box which is hosting another service so when i visit 192.168.1.166 WITHOUT the port number at the end, it brings me directly to that web UI for that service. I am a total newbie to linux so i have just been following tutorials to get this all setup and dont have a good grasp on what files to modify to accomplish this. So basically i want to setup apache (or anything else through ubuntu) that will forward 192.168.1.166:6789 to say "http://myService" or "http://myService.com" so its easier for non-technical people in the house to pull these web UI's up (not sure what format is valid for local urls, again i am a big time newbie with all this). Thanks! ...