rredir.cc File Reference
#include "squid.h"
#include <unistd.h>
#include <cstring>
#include <cctype>
Include dependency graph for rredir.cc:

Go to the source code of this file.

Macros

#define ACCESS_LOCAL_DIR   "/var/lib/httpd/htdocs/local/rredir"
 
#define REDIRECT_TO_URL   "http://www.hacom.nl/local/rredir"
 
#define BUFFER_SIZE   (16*1024)
 

Functions

int main ()
 

Macro Definition Documentation

◆ ACCESS_LOCAL_DIR

#define ACCESS_LOCAL_DIR   "/var/lib/httpd/htdocs/local/rredir"

Definition at line 50 of file rredir.cc.

◆ BUFFER_SIZE

#define BUFFER_SIZE   (16*1024)

Definition at line 52 of file rredir.cc.

◆ REDIRECT_TO_URL

#define REDIRECT_TO_URL   "http://www.hacom.nl/local/rredir"

Definition at line 51 of file rredir.cc.

Function Documentation

◆ main()

int main ( )

Definition at line 55 of file rredir.cc.

References ACCESS_LOCAL_DIR, BUFFER_SIZE, NULL, and REDIRECT_TO_URL.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors