Project PROXY

CANCELLED
Bids
3
Avg Bid (USD)
$187
Project Budget (USD)
$30 - $250

Project Description:
Project PROXY!

I have a LAN HOUSE, need to redirect some sites.
I need something simple, I have no interest in something complex.

I redirect, certain sites (porn, downalod, etc.) using proxy.

I host 2 files into the server:

index.php
proxy.pac


On being introduced, the script (proxy.pac) in the browser, he calls the index.php.

Xxx ============== ================

index.php

<? php
 
/ *
 
* /
 
 
                 if ($ _SERVER ["HTTP_HOST"] == "www.uol.com.br")
                 {
                                 include ("u / index.php");
                                 exit;
                 }
 
               
                 if ($ _SERVER ["HTTP_HOST"] == "www.ig.com.br")
                 {
                                 include ("i / index.php");
                                 exit;
                 }
 
                 if ($ _SERVER ["HTTP_HOST"] == "www.terra.com.br")
                 {
                                 include ("t / index.php");
                                 exit;
                 }
               
        / *
              uisminofai?
        * /
 
                 else
                 {
                 include ("erro.php");
                 }
                 MSG # # End;
 
  ?>


Xxx ============= ================

proxy.pac file


FindProxyForURL function (url, host) {
     if (shExpMatch (host, "www.uol.com.br")) {
return "PROXY 200.98.151.177:80";
}

     if (shExpMatch (host, "www.ig.com.br")) {
return "PROXY 200.98.151.177:80";
}

     if (shExpMatch (host, "www.terra.com.br")) {
return "PROXY 200.98.151.177:80";
}
return "DIRECT";

}


I need to redirect once only!

Skills required:
Delphi, Java, Javascript, PHP, Windows Desktop
Hire robertsousabr
Project posted by:
robertsousabr Brazil
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 30
in 1 days
$ 30
in 0 days
Hire darchitects
$ 500
in 30 days