On Wed, May 04, 2005 at 04:18:38PM +0200, Paul Slootman wrote:
...
> However, running with a uid an gid other than proxy is not supported.
> Also the spool-dir shouldn't really be changed, especially to /var/tmp
> as it it unpredictable what may happen if all sorts of non-wwwoffle
> files are encountered in its cache area. Use a symlink (to a subdir) if
> you really have to...

that was just a silly example - I config'd 2.7 changing everything in the 
.conf to see what gets mangled by update. I think and expect everything in
the config file should be preserved. What gets changed for whatever reason 
in the new rel should give proper warnings, and whatever 'not supported'
shouldn't really stay in the config file.

> 
> Can you please send me /var/log/wwwoffle-upgrade.log, and
> /etc/wwwoffle/wwwoffle.conf and /etc/wwwoffle/wwwoffle.conf.bak (i.e.
> the config file before the upgrade). Please also show the output of
> debconf-show wwwoffle

I don't have /etc/wwwoffle/wwwoffle.conf.bak, here's ls -l /etc/wwwoffle
after upgrade:


total 112
lrwxr-xr-x   1 root  root     66 May  5 15:06 debian-replacement.gif -> 
/usr/share/wwwoffle/html/en/local/dontget/standard.replacement.gif
lrwxr-xr-x   1 root  root     65 May  5 15:06 debian-replacement.js -> 
/usr/share/wwwoffle/html/en/local/dontget/standard.replacement.js
lrwxr-xr-x   1 root  root     66 May  5 15:06 debian-replacement.png -> 
/usr/share/wwwoffle/html/en/local/dontget/standard.replacement.png
drwxr-xr-x   2 root  root   4096 May  5 15:30 htdig
drwxr-xr-x  10 root  root   4096 May  5 15:30 html
drwxr-xr-x   2 root  root   4096 May  5 15:30 mnogosearch
drwxr-xr-x   2 root  root   4096 May  5 15:30 namazu
-rw-r--r--   1 root  root    322 Sep  7  2002 robots.txt
-rw-r-----   1 proxy proxy 42767 May  5 15:30 wwwoffle.conf
-rw-r-----   1 proxy proxy  4634 May  5 15:18 wwwoffle.conf.2.7
-rw-r--r--   1 root  root   5157 May  5 15:45 wwwoffle.conf.2.8
-rw-r-----   1 proxy proxy  5104 May  5 15:30 wwwoffle.conf.old
-rwxr-xr-x   1 root  root    908 Apr  7 20:36 wwwoffle.cron-fetch
-rw-r--r--   1 root  root    116 May  5 15:06 wwwoffle.options
-rw-r--r--   1 root  root    492 Aug  5  2002 wwwoffle.pac

*.2.[78], which I'm attaching here, come from 
egrep -v "^#|^$" /etc/wwwoffle/wwwoffle.conf
Pls see attachments.

-- 
 paolo
 
 GPG/PGP id:0x21426690 kfp:EDFB 0103 A8D8 4180 8AB5  D59E 9771 0F28 2142 6690
 "Indeed, it does come with warranty: it *will* fail, sometimes, somehow..."
                                                           - software vendor
StartUp
{
 bind-ipv4         = 127.0.0.1
 http-port      = 5865
 wwwoffle-port     = 5867
 spool-dir      = /var/tmp/wwwoffle
 run-uid        = nobody
 run-gid        = nogroup
 use-syslog        = no
 password = mysecret
 max-servers       = 4
 max-fetch-servers = 1
}
Options
{
 log-level             = info
 socket-timeout        = 90
 dns-timeout           = 40
 connect-timeout       = 15
 connect-retry         = no
 ssl-allow-port        = 443
 ssl-allow-port        = 9999
 dir-perm              = 0754
 file-perm             = 0640
 lock-files            = yes
 reply-compressed-data = yes
}
OnlineOptions
{
 request-changed       = 12m
 request-changed-once  = no
 request-expired       = yes
 request-no-cache      = yes
 request-redirection   = yes
 try-without-password  = no
 intr-download-keep    = yes
 intr-download-size    = 2
 intr-download-percent = 70
 timeout-download-keep = yes
 request-compressed-data = no
}
OfflineOptions
{
 pragma-no-cache  = no
 confirm-requests = yes
}
FetchOptions
{
 stylesheets = no
 images      = no
 frames      = no
 scripts     = yes
 objects     = yes
 webbug-images = no
}
IndexOptions
{
 no-lasttime-index    = yes
}
ModifyHTML
{
 enable-modify-html        = yes
 enable-modify-online      = yes
 add-cache-info            = yes
 disable-script            = yes
 disable-applet            = yes
 disable-style             = yes
 disable-blink             = yes
 disable-meta-refresh      = yes
 disable-meta-refresh-self = yes
 disable-dontget-links     = yes
 replace-dontget-images    = yes
 replacement-dontget-image = /local/dontget/r.gif
 replace-webbug-images     = yes
 replacement-webbug-image  = /local/dontget/r.gif
 demoronise-ms-chars       = yes
 disable-animated-gif      = yes
}
LocalHost
{
 localhost
 127.0.0.1
 192.168.0.53
 ::ffff:127.0.0.1
 ip6-localhost
 ::1
}
LocalNet
{
 192.168.0.0/24
}
AllowedConnectHosts
{
 192.168.0.0/24
}
AllowedConnectUsers
{
 user1:pwd1
 user2:pwd2
}
DontCache
{
 *://*.google.*
}
DontGet
{
 location-error = yes
}
DontCompress
{
 mime-type = image/gif
 mime-type = image/jpeg
 mime-type = image/png
 mime-type = image/tiff
 mime-type = video/x-msvideo
 mime-type = video/quicktime
 mime-type = video/mpeg
 mime-type = audio/basic
 mime-type = audio/x-wav
 mime-type = application/x-dvi
 mime-type = application/pdf
 mime-type = application/zip
 mime-type = application/x-ns-proxy-autoconfig
 file-ext = .gz
 file-ext = .bz
 file-ext = .bz2
 file-ext = .Z
 file-ext = .zip
 file-ext = .tgz
 file-ext = .rpm
 file-ext = .deb
 file-ext = .gif
 file-ext = .GIF
 file-ext = .jpg
 file-ext = .JPG
 file-ext = .jpeg
 file-ext = .JPEG
 file-ext = .png
 file-ext = .PNG
}
CensorHeader
{
 http://* Set-Cookie=no
}
FTPOptions
{
 anon-username = ftpuser
}
MIMETypes
{
 default  = text/plain
 .Z       = application/x-compress
 .au      = audio/basic
 .avi     = video/x-msvideo
 .class   = application/java
 .cpio    = application/x-cpio
 .css     = text/css
 .deb     = application/octet-stream
 .dtd     = application/xml
 .dvi     = application/x-dvi
 .eps     = application/postscript
 .gif     = image/gif
 .gz      = application/x-gzip
 .htm     = text/html
 .html    = text/html
 .jpeg    = image/jpeg
 .jpg     = image/jpeg
 .js      = application/x-javascript
 .latex   = application/x-latex
 .man     = application/x-troff-man
 .me      = application/x-troff-me
 .mov     = video/quicktime
 .mpeg    = video/mpeg
 .mpg     = video/mpeg
 .ms      = application/x-troff-ms
 .pac     = application/x-ns-proxy-autoconfig
 .pbm     = image/x-portable-bitmap
 .pdf     = application/pdf
 .pgm     = image/x-portable-graymap
 .png     = image/png
 .pnm     = image/x-portable-anymap
 .ppm     = image/x-portable-pixmap
 .ps      = application/postscript
 .ras     = image/x-cmu-raster
 .rgb     = image/x-rgb
 .rpm     = application/octet-stream
 .rtf     = application/rtf
 .snd     = audio/basic
 .tar     = application/x-tar
 .tcl     = application/x-tcl
 .tex     = application/x-tex
 .texi    = application/x-texinfo
 .texinfo = application/x-texinfo
 .tif     = image/tiff
 .tiff    = image/tiff
 .tr      = application/x-troff
 .txt     = text/plain
 .vr      = model/vrml
 .wav     = audio/x-wav
 .wrl     = model/vrml
 .xbm     = image/x-xbitmap
 .xml     = application/xml
 .xpm     = image/x-xpixmap
 .xwd     = image/x-xwindowdump
 .zip     = application/zip
 .exe     = application/octet-stream
}
Proxy
{
 <http://*> proxy = proxy:port
}
Alias
{
 http://server http://alias
}
Purge
{
 use-mtime     = yes
 max-size      = 0
 min-free      = 0
 use-url       = yes
 del-dontget   = no
 del-dontcache = no
 age           = 2w
 compress-age  = 1w
}
Thu May  5 16:03:05 CEST 2005
config_version = 2.7; current_version = 2.7
No upgrade necessary
Thu May  5 16:07:20 CEST 2005
config_vers=2.6; installed_deb_vers=2.7a-1.2; current_vers_file=2.8e; 
current_vers=2.8e
wwwoffle-upgrade-config-2.6-2.7 /etc/wwwoffle/wwwoffle.conf
Cannot open 'wwwoffle.conf.install' or '/etc/wwwoffle/wwwoffle.conf.install' - 
no new format comments
ModifyHTML      - New option 'disable-dontget-iframes = no'
ModifyHTML      - New option 'disable-flash = no'
Options - New option '#exec-cgi = /local/cgi-bin/*
 #exec-cgi = /local/*.cgi'
FetchOptions    - New option 'only-same-host-images = no'
IndexOptions    - New option '#create-history-indexes = yes
'
OfflineOptions  - New option 'cache-control-no-cache = yes'
Purge   - Changed option 'min-free      = 0' -> 'min-free = -1'
Purge   - Changed option 'max-size      = 0' -> 'max-size = -1'
IndexOptions    - Changed option 'no-lasttime-index    = yes' -> 
'create-history-indexes = no'
wwwoffle-upgrade-config /etc/wwwoffle/wwwoffle.conf
ModifyHTML      - New option 'fix-mixed-cyrillic = no'
ModifyHTML      - New option 'disable-meta-set-cookie = no'
ModifyHTML      - New option 'disable-marquee = no'
Options - New option 'reply-chunked-data = no'
CensorHeader    - New option 'force-user-agent = no'
FetchOptions    - New option 'icon-images = no'
OfflineOptions  - New option 'cache-control-max-age-0 = yes'
OnlineOptions   - New option 'request-chunked-data = yes'
OnlineOptions   - New option 'validate-with-etag = yes'
OnlineOptions   - New option 'request-conditional = yes'
OnlineOptions   - New option 'cache-control-max-age-0 = yes'
OnlineOptions   - New option 'keep-cache-if-not-found = no'
OnlineOptions   - New option 'pragma-no-cache = yes'
OnlineOptions   - New option 'cache-control-no-cache = yes'
ModifyHTML      - Deleted option '# enable-modify-online      = yes'
StartUp
{
 bind-ipv4         = 127.0.0.1
 http-port      = 8080
 wwwoffle-port     = 5867
 spool-dir      = /var/cache/wwwoffle
 run-uid        = proxy
 run-gid        = proxy
 use-syslog        = no
 password = mysecret
 max-servers       = 4
 max-fetch-servers = 1
}
Options
{
 log-level             = info
 socket-timeout        = 90
 dns-timeout           = 40
 connect-timeout       = 15
 connect-retry         = no
 ssl-allow-port        = 443
 ssl-allow-port        = 9999
 dir-perm              = 0754
 file-perm             = 0640
 lock-files            = yes
 reply-compressed-data = yes
 #exec-cgi = /local/cgi-bin/*
 #exec-cgi = /local/*.cgi
 reply-chunked-data = no
}
OnlineOptions
{
 request-changed       = 12m
 request-changed-once  = no
 request-expired       = yes
 request-no-cache      = yes
 request-redirection   = yes
 try-without-password  = no
 intr-download-keep    = yes
 intr-download-size    = 2
 intr-download-percent = 70
 timeout-download-keep = yes
 request-compressed-data = no
 request-chunked-data = yes
 validate-with-etag = yes
 request-conditional = yes
 cache-control-max-age-0 = yes
 keep-cache-if-not-found = no
 pragma-no-cache = yes
 cache-control-no-cache = yes
}
OfflineOptions
{
 pragma-no-cache  = no
 confirm-requests = yes
 cache-control-no-cache = yes
 cache-control-max-age-0 = yes
}
FetchOptions
{
 stylesheets = no
 images      = no
 frames      = no
 scripts     = yes
 objects     = yes
 webbug-images = no
 only-same-host-images = no
 icon-images = no
}
IndexOptions
{
 create-history-indexes = no
 #create-history-indexes = yes
}
ModifyHTML
{
 enable-modify-html        = yes
 add-cache-info            = yes
 disable-script            = yes
 disable-applet            = yes
 disable-style             = yes
 disable-blink             = yes
 disable-meta-refresh      = yes
 disable-meta-refresh-self = yes
 disable-dontget-links     = yes
 replace-dontget-images    = yes
 replacement-dontget-image = /local/dontget/r.gif
 replace-webbug-images     = yes
 replacement-webbug-image  = /local/dontget/r.gif
 demoronise-ms-chars       = yes
 disable-animated-gif      = yes
 disable-dontget-iframes = no
 disable-flash = no
 fix-mixed-cyrillic = no
 disable-meta-set-cookie = no
 disable-marquee = no
}
LocalHost
{
 localhost
 127.0.0.1
 192.168.0.53
 ::ffff:127.0.0.1
 ip6-localhost
 ::1
}
LocalNet
{
 192.168.0.0/24
}
AllowedConnectHosts
{
 192.168.0.0/24
}
AllowedConnectUsers
{
 user1:pwd1
 user2:pwd2
}
DontCache
{
 *://*.google.*
}
DontGet
{
 location-error = yes
}
DontCompress
{
 mime-type = image/gif
 mime-type = image/jpeg
 mime-type = image/png
 mime-type = image/tiff
 mime-type = video/x-msvideo
 mime-type = video/quicktime
 mime-type = video/mpeg
 mime-type = audio/basic
 mime-type = audio/x-wav
 mime-type = application/x-dvi
 mime-type = application/pdf
 mime-type = application/zip
 mime-type = application/x-ns-proxy-autoconfig
 file-ext = .gz
 file-ext = .bz
 file-ext = .bz2
 file-ext = .Z
 file-ext = .zip
 file-ext = .tgz
 file-ext = .rpm
 file-ext = .deb
 file-ext = .gif
 file-ext = .GIF
 file-ext = .jpg
 file-ext = .JPG
 file-ext = .jpeg
 file-ext = .JPEG
 file-ext = .png
 file-ext = .PNG
}
CensorHeader
{
 http://* Set-Cookie=no
 force-user-agent = no
}
FTPOptions
{
 anon-username = ftpuser
}
MIMETypes
{
 default  = text/plain
 .Z       = application/x-compress
 .au      = audio/basic
 .avi     = video/x-msvideo
 .class   = application/java
 .cpio    = application/x-cpio
 .css     = text/css
 .deb     = application/octet-stream
 .dtd     = application/xml
 .dvi     = application/x-dvi
 .eps     = application/postscript
 .gif     = image/gif
 .gz      = application/x-gzip
 .htm     = text/html
 .html    = text/html
 .jpeg    = image/jpeg
 .jpg     = image/jpeg
 .js      = application/x-javascript
 .latex   = application/x-latex
 .man     = application/x-troff-man
 .me      = application/x-troff-me
 .mov     = video/quicktime
 .mpeg    = video/mpeg
 .mpg     = video/mpeg
 .ms      = application/x-troff-ms
 .pac     = application/x-ns-proxy-autoconfig
 .pbm     = image/x-portable-bitmap
 .pdf     = application/pdf
 .pgm     = image/x-portable-graymap
 .png     = image/png
 .pnm     = image/x-portable-anymap
 .ppm     = image/x-portable-pixmap
 .ps      = application/postscript
 .ras     = image/x-cmu-raster
 .rgb     = image/x-rgb
 .rpm     = application/octet-stream
 .rtf     = application/rtf
 .snd     = audio/basic
 .tar     = application/x-tar
 .tcl     = application/x-tcl
 .tex     = application/x-tex
 .texi    = application/x-texinfo
 .texinfo = application/x-texinfo
 .tif     = image/tiff
 .tiff    = image/tiff
 .tr      = application/x-troff
 .txt     = text/plain
 .vr      = model/vrml
 .wav     = audio/x-wav
 .wrl     = model/vrml
 .xbm     = image/x-xbitmap
 .xml     = application/xml
 .xpm     = image/x-xpixmap
 .xwd     = image/x-xwindowdump
 .zip     = application/zip
 .exe     = application/octet-stream
}
Proxy
{
 <http://*> proxy = proxy:8080
}
Alias
{
 http://server = http://alias
}
Purge
{
 use-mtime     = yes
 max-size = -1
 min-free = -1
 use-url       = yes
 del-dontget   = no
 del-dontcache = no
 age           = 2w
 compress-age  = 1w
}

Reply via email to