GithubHelp home page GithubHelp logo

bandono / proxyconf Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.2 MB

squid3 configuration integrated with Apache2 default landing page, proxy auto configuration (PAC) file hosting, multiple squid instances

Shell 44.38% JavaScript 55.62%

proxyconf's People

Contributors

bandono avatar

Watchers

 avatar  avatar

proxyconf's Issues

Proxy instance running in port 80 block apache from starting during reboot

The second proxy instance /etc/squid3/squid-landing.conf running as accelerator/interceptor redirecting http traffic to default landing page is blocking apache2 from starting. Port *:80 has been used by this instance.

However if both services aren't started by init (as in reboot/booting), they're both running.

apache2 runlevel in /etc/rc*.d:

/etc/rc0.d/K09apache2
/etc/rc1.d/K09apache2
/etc/rc2.d/S91apache2
/etc/rc3.d/S91apache2
/etc/rc4.d/S91apache2
/etc/rc5.d/S91apache2
/etc/rc6.d/K09apache2

Moving them to other runlevel doesn't start apache2 from init correctly.

Manage Trailing Character in Proxy Auto Discovery file Request (wpad.dat)

The /var/log/apache2/access.log showed requests from browser which are invalid. There should be a workaround to rewrite/redirect the request.

Example of invalid request in that log from:

  1. IE 6 shipped with Windows XP SP2:
    192.168.40.78 - - [30/Apr/2013:16:28:07 +0700] "GET /wpad.dat/ HTTP/1.1" 404 478 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
  2. Firefox 15 in Windows XP SP2:
    192.168.40.78 - - [30/Apr/2013:16:20:39 +0700] "GET /wpad.dat/ HTTP/1.1" 404 478 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Win32)"
  3. IE 8 shipped with Windows 7:
    192.168.40.77 - - [01/May/2013:20:07:24 +0700] "GET /wpad.dat/? HTTP/1.1" 404 534 "-" "-"

Note that these aren't always reproducible it could've been from previous setting which was erroneous.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.