User Tools

Site Tools


No ai soldati italiani all'estero




Rigacci.Org usa energia elettrica da fonti rinnovabili, grazie al gruppo di acquisto Merci Dolci.

Merci Dolci - Energia Rinnovabile

Software libero!

Petizione contro i brevetti software

Faunalia: Soluzioni GIS professionali



This is an old revision of the document!

Substitute HTML or JavaScript with a proxy

How to test changes to a live site without touching it

Create a file proxy.pac and store it into your web server:

function FindProxyForURL(url, host) {
    if (shExpMatch(url, "")) {
        return "PROXY";

Configure the fake VirtualHost on your web server:

The put the fake file into the DocumentRoot fo the VirtaulHost /var/www/

Configure the browser to use automatic proxy, and give as the URL.

doc/appunti/linux/sa/proxy_debug.1316094630.txt.gz · Last modified: 2011/09/15 15:50 by niccolo