PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : wwwoffle Proxy Server



bayliner
20.02.02, 22:51
Also ich hab den wwwoffle Proxy Installed und Configuriert (L-SuSe 7.2 ) , ich hab alles richtig gemacht , aber er meldet beim starten immer :



chicago046:/etc/wwwoffle # wwwoffle -gf
chicago046:/etc/wwwoffle # wwwoffle -on
wwwoffle[11316] Warning: Connect fail [Connection refused].
wwwoffle[11316] Fatal: Cannot open connection to wwwoffle server localhost port
8081.
chicago046:/etc/wwwoffle # wwwoffle -on
wwwoffle[11446] Warning: Connect fail [Connection refused].
wwwoffle[11446] Fatal: Cannot open connection to wwwoffle server localhost port 8081.
chicago046:/etc/wwwoffle #


Usage: wwwoffle -h
wwwoffle -online | -autodial | -offline | -fetch
wwwoffle -config | -purge | -kill
wwwoffle [-o|-O] <url>
wwwoffle [-g[Sisfo]] [-F] [-(d|r|R)[<depth>]] <url> ...
wwwoffle [-g[Sisfo]] [-F] [-(d|r|R)[<depth>]] [<file>|-] ...
wwwoffle -post <url> | -put <url>



Meine Config sieht so aus ::

StartUp
{
http-port = 8080
wwwoffle-port = 8081
# Pfad einstellen Standart /var/wwwoffle
spool-dir = /etc/wwwoffle/

run-uid = wwwrun
run-gid = nogroup

use-syslog = no

password = none

max-servers = 6
max-fetch-servers = 2

dir-perm = 0755
file-perm = 0644
}


Options
{
log-level = important

index-latest-days = 7

request-changed = 600

request-changed-once = yes

request-expired = no

# Hier könnt ihr einstellen ob seiten die nicht Gecacht

# werden sollen Gecacht werden
pragma-no-cache = yes
confirm-requests = no
connect-timeout = 30
socket-timeout = 120
connect-retry = no
ssl-allow-port = 443
no-lasttime-index = no
}


# Hier kann eingestellt werden ob bilder, scripts, o.ä.

# mit gespeichert werden sollen
FetchOptions
{
stylesheets = yes
images = yes
frames = yes
scripts = no
objects = no
}

# Hier kann euch w3offle anzeigen

# ob die seiten im speicher sind oder nicht, sehr hilfreich.

# Solltet ihr ausprobieren.
ModifyHTML
{
enable-modify-html = yes

add-cache-info = no

anchor-cached-begin = <font color="#00B000">
#anchor-cached-end = </font>
#anchor-requested-begin = <font color="#B0B000">
#anchor-requested-end = </font>
anchor-not-cached-begin = <font color="#6666FF">
#anchor-not-cached-end = </font>

disable-script = no
disable-blink = no

disable-animated-gif = no
}


# Hier kommt die Adresse des localhost hin,

# der Proxy gilt dann für localhost nicht
LocalHost
{
localhost
217.172.179.46

}


# Hier kommt eure Domain hin,

# ACHTET unbedingt auf das *. das ist wichtig.
LocalNet
{
*.domain.de
}

# Hier können alle Rechner eingetragen werden

# die w3offle nutzen dürfen. Entweder die IP oder den Rechner

# Namen, bei mir darf es das gesamte Netz.
AllowedConnectHosts
{
*.domain.de
}


AllowedConnectUsers
{

}

# Hier kommen Adressen rein die nicht im Cache landen

# wichtig ich auch das immer http:// oder ftp:// vor der

# Domain stehen muß
DontCache
{

}


# DER WICHTIGSTE TEIL. Hier kommen Adressen rein die

# erst gar nicht angefordert werden sollen. Ich ratte euch an die

# Liste in regelmässigen Abständen zu erweitern.
DontGet
{
http://1.link4link.com
http://1000stars.ru
http://123counter.mycomputer.com
http://145.7.30.7
http://cgi*.*.*
http://ctc.*.*
http://crd*.*.*
http://ad.es.doubleclick.ne
http://ban.admin.de.cx
http://cgi.*.*
http://12.47.202.100
http://194.231.63.181/images
http://209.162.114.231/recip
http://216.151.173.139/counter
http://2xs.de/cgi-bin
http://adc.schaper.de
http://ad.*.*.*
http://ban.admin.*.*


# Hier steht der Pfad für das "Ersatzbild" was statt der "Don´t get"

# Anweisung steht, das kann natürlich von euch auch geändert

# werden. Bei mir wird das tux.gif angezeigt

# replacement = /local/images/trans-1x1.gif
replacement = /usr/local/bilder1/images/tux.gif
}

DontGetRecursive
{

}



DontRequestOffline
{

}



CensorHeader
{

}



FTPOptions
{
anon-username = anonymous
#anon-password =
}



MIMETypes
{
default = text/plain

.pdf = application/pdf
.eps = application/postscript
.ps = application/postscript
.rtf = application/rtf
.dvi = application/x-dvi
.latex = application/x-latex
.tcl = application/x-tcl
.tex = application/x-tex
.texinfo = application/x-texinfo
.texi = application/x-texinfo
.tr = application/x-troff
.man = application/x-troff-man
.me = application/x-troff-me
.ms = application/x-troff-ms
.zip = application/zip
.cpio = application/x-cpio
.tar = application/x-tar
.Z = application/x-compress
.gz = application/x-gzip
.js = application/x-javascript
.au = audio/basic
.snd = audio/basic
.wav = audio/x-wav
.gif = image/gif
.jpeg = image/jpeg
.jpg = image/jpeg
.tif = image/tiff
.tiff = image/tiff
.ras = image/x-cmu-raster
.pnm = image/x-portable-anymap
.pbm = image/x-portable-bitmap
.pgm = image/x-portable-graymap
.ppm = image/x-portable-pixmap
.rgb = image/x-rgb
.xbm = image/x-xbitmap
.xpm = image/x-xpixmap
.xwd = image/x-xwindowdump
.html = text/html
.htm = text/html
.txt = text/plain
.mpeg = video/mpeg
.mpg = video/mpeg
.mov = video/quicktime
.avi = video/x-msvideo
.pac = application/x-ns-proxy-autoconfig
.class = application/java
.wrl = model/vrml
.vr = model/vrml
.css = text/css
.xml = application/xml
.dtd = application/xml
}


# Dieser Absatz sagt w3offle ob er noch mit anderen

# Proxys "Reden" soll. Diese einstellung ist natürlich nur das

# sinnvoll, wenn er ein ein "Slaveproxy" ist oder ein "Domainproxy"

# ist

Proxy
{
http://* = none

}


DontIndex
{

}



Alias
{

}

# Dieser Abschnitt ist für das Säubern des Proxyverzeichniss

# zuständig.

Purge
{
use-mtime = no


# Maximale grösse des Belegten Platzes durch w3offle, im MB
max-size = 50

# Minimaler freier Platz den w3offle lassen soll.
min-free = 10000


# w3offle soll die URL benutzen um die "ttl" (Time To Live) zu

# bestimmen
use-url = yes

del-dontget = yes
del-dontcache = yes


# Länge der "ttl" (Time To Live) in Tagen.
default = 7

}



so das wars , und nu HILFÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ