proxy

Bouncing an Apache http auth proxy request to another device

I've got a hardware internet radio player which needs to play a stream which is behind an http auth (standard 401 request). Unfortunately, the device can't cope with http auth, you can't build the username and password into the link (eg: username:password@http etc - and besides, the server won't accept that) and it plays streams by call...

RewriteRule to redirect requested URLs to a certain URL

Hello everyone, I want to redirect requested URLs that use subdomain such as anything.example.com to example.com, and I want the URL to remain anything.example.com. Currently I am using: ServerName www.example.com ServerAlias *.example.com RewriteRule ^/$ /homepage/ [P,L] It works fine this way. But when I remove the flag P it stops...

Flash Uploads and Proxy Issues

We have an internal application written in Flex that uploads content to a .NET web handler for processing. We have periodic issues due to clients behind proxy servers where it will occasionally prompt them to connect to the proxy server before doing anything, but if they do, the application doesn't work properly. If they cancel, the app...

OpenLdap proxy CN case-sensitive

Hi, I am having a web app which needs to cache a notes ldap. For that the IT installed Openldap which will be queried from the web app. Basically OpenLdap Proxy. now CN=My User, O=Corp comes over as cn=My User, o=Corp... (notice the case CN vs. cn, etc) Can I adjust something in slapd.conf that tells my mapping to be case-sensitive? ...

python 3 DNS resolution proxyhandler

I was wondering how http proxy in comparison with socks5 proxy handles dns resolution, as far as I have understood the dns resolution is done by the proxy and not by the application. For this snippet I tested to see if there is any dns resolution made by viewing dns queries in Wireshark while running it. import urllib.request tor_prox...

How to disable proxy caching with .htaccess

I have a problem where corporate proxy servers serves up the page for different logged in users. I reckon I can solve this issue by disabling proxy caching. This page suggests including the following snippet in htaccess: ExpiresDefault A0 Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0" Header set Pragma "no-cac...

Connect to TFS via API behind a Webproxy

Hi, I have to connecto TFS via API which already works fine when i am within my lan. But now i have to connect to a TFS over a webproxy. I am able to connect to the serverstatus.asmx via browser. I already tried to set a environment variable and added the property to app.config - but without success. Now i tried to do the same with a h...

Castle Windsor: XML Configuration for Dynamic Proxy without a Target

Hello, Situation: I have an interface, such as public interface ITestClass { string StringElement { get; } } There is an implementation for it: public class TestClassImplementor : ITestClass { public string StringElement { get { return "AAA"; } } } I do have a factory that creates an implementation inst...

Writing a proxy to listen for information traveling from client to service

I need to write an application that acts as a proxy between a client and a service. All I want to do is read the data that is traveling in both directions from client to service and vice versa. In essence I want this proxy to be able to be just plugged in without the need to reconfigure port settings in either the client or the service. ...

Java Socks proxy connection

Socket skt; Proxy proxy = new Proxy(Proxy.Type.SOCKS, new InetSocketAddress(proxy_address,proxy_port)); Socket server = new Socket(address, port); skt = new Socket(proxy); try { skt.setSoTimeout(5*1000); skt.connect(server.getRemoteSocketAddress()); } catch (Exception e) {} the skt socket creates a new socket with the pr...

Proxifying ASP.NET page in PHP causes AJAX error.

Hello, I'm working on building a PHP based proxy script to access a particular ASP.NET page that uses lots of AJAX. So far most of the website works, but one of the forms produces the following error upon submittal: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common ...

Help: How to Login Google Accounts via TOR(The Onion Router)?

OS: Windows XP Internet Browser: Firefox 3.6.6 TOR: Vidalia 0.2.7, Tor 0.2.1.25, Qt 4.5.3 I can browse web pages via TOR correctly. But when I browse http://docs.google.com, Google asks me for my account name and password. I enter those information correctly, then press enter. But the login page presents again and again. What shall I d...

Setting Proxy settings with wininet

Hi I am having issues setting the proxy username and password with wininet. The bellow code set the proxy but the username and password fails with error code "12018" [DllImport("wininet.dll", SetLastError = true)] private static extern bool InternetSetOption(IntPtr hInternet, int dwOption, IntPtr lpBuffer, int lpdwBufferLength); ...

How to run youtube types sites in php proxy script ?

Hi Friends, AM working on a Php application, where i can see the selected youtube videos.(Like in Vtunnel.com).I have tried to implement in my application but it doesn't work for me. Can any one provide me the code to attain this functionality in my application. At this moment, it is very important for me. Any help is highly appreciab...

Using Reflection.Emit to implement a interface

Let's say that I have the following interface: public interface IMyService { void SimpleMethod(int id); int Hello(string temp); } And want to generate a class that looks like this (using reflection emit). public class MyServiceProxy : IMyService { IChannel _channel; public MyServiceProxy(IChannel channel) { _channel...

I can't seem to get mod_proxy_html working at all - no debug output, no errors.

I'm running apache 2.0.52, and I've compiled the mod_proxy_html module (version 3.1), apache starts fine, no errors. The only problem is that the module appears to do nothing - I'm not even getting any debugging output in the error log, so I'm a little stumped, as I fdon't even have any logging to point at a clue why it isn't working. Th...

Python proxy.. A simple one!

Hello everyone. I have been surfing around on google, googling away in order to find the source of a Python HTTP proxy server, because i wish to write my own. Good news is: I found lots! Bad news is: I think they are too complicated. At least for me to properly grasp. I have seen python do stuff like this before in very simple and compac...

How to make a PHP program work via proxies?

I have never delt with proxies but now I have to. The program is a PHP parser that scraps several websites to retrieve need info. I just need to know how PHP programs work via proxies... how to make them work via proxies. Thanks for any help! ...

Using HTTP proxy in PHP

May you give me an example for using an HTTP proxy in PHP? ...

How to implement OpenDNS style proxying of web traffic

I have a requirement that I believe may be impossible and wanted to confirm this with experts in this community. A client wants us to configure a DNS server to point all non-whitelisted domains to an IP address of a server on the internet. This server should forward / redirect all non-http traffic to an IP address associated with the re...