You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
Upgraded to latest mod_pagespeed. Running Apache2 on Debian Squeeze
root@snakehead:~# dpkg -l | grep pagespeed
ii mod-pagespeed-beta 0.10.19.4-r1209
Apache 2 module to optimize web content.
root@snakehead:~#
Kept my previous pagespeed.conf
Now i'm getting flooded w/ the errors below in the apache log
==> /var/log/apache2/error.log <==
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/epace_layout.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/epace_color.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/shared.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/printable.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/print.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/simpletree.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/calendar/calendar-system.css
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/js_messages
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/timezonelist
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/JSMessageFormatter.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/tabs.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/positioning.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/adjustPageDisplay.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/appbox.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/shared.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/divResize.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/grids.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/qforms.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/qforms/functions_js12.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/qforms/validation.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/dom2_events.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/remoter.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/l10nFormatUtils.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/localizationdata?d1251e1
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/liveformatting.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/keyevents.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/reports.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/array.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/AutoComplete.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/formHelper.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/SizeSelectWidget.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/contextItems.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/LabelWidget.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/ForcingWidget.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/EditableSelectWidget.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/prototype.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/scriptaculous.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/builder.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/effects.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/controls.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/dragdrop.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/scriptaculous/slider.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/behaviour/behaviour.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/behaviour/behaviours.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/expressionbuilder-setup.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/simpletreemenu.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/HelpBalloon/src/HelpBalloon.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/menu.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/quickSearch.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/notifier.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/multiFile.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/FileAttachment.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/js/navigator.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/menudata?d1251e1
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/calendar/calendar.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/calendar/calendar-setup.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/calendar/lang/calendar-en.js
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/localizationdata?d1939e1
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/menudata?d1939e1
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/localizationdata?d2283e1
[Thu Dec 01 01:13:52 2011] [warn] [mod_pagespeed @3061]
[1201/011352:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/menudata?d2283e1
[Thu Dec 01 01:14:09 2011] [warn] [mod_pagespeed @3066]
[1201/011409:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/localizationdata?d1595e1
[Thu Dec 01 01:14:09 2011] [warn] [mod_pagespeed @3066]
[1201/011409:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/epace/company:public/js/menudata?d1595e1
[Thu Dec 01 01:14:09 2011] [warn] [mod_pagespeed @3066]
[1201/011409:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/css/simpletree.css
[Thu Dec 01 01:14:09 2011] [warn] [mod_pagespeed @3066]
[1201/011409:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/static/calendar/calendar-system.css
[Thu Dec 01 01:18:31 2011] [error] [mod_pagespeed 0.10.19.4-1209 @3221] Timeout
on url http://snakehead/continuum/css/tigris.css.pagespeed.cf.BSv1MyagJp.css
[Thu Dec 01 01:18:31 2011] [error] [mod_pagespeed 0.10.19.4-1209 @3221] Fetch
failed for
http://snakehead/continuum/css/tigris.css.pagespeed.cf.BSv1MyagJp.css, status=0
[Thu Dec 01 01:18:47 2011] [warn] [mod_pagespeed @3221]
[1201/011847:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/continuum/css/tigris.css
[Thu Dec 01 01:18:47 2011] [warn] [mod_pagespeed @3221]
[1201/011847:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/continuum/css/print.css
[Thu Dec 01 01:18:47 2011] [warn] [mod_pagespeed @3221]
[1201/011847:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/continuum/scripts/tigris.js
[Thu Dec 01 01:18:47 2011] [warn] [mod_pagespeed @3221]
[1201/011847:WARNING:serf_url_async_fetcher.cc(973)] Fetch failed to start:
http://snakehead/continuum/css/tigris.css
[Thu Dec 01 01:18:47 2011] [error] [mod_pagespeed 0.10.19.4-1209 @3221]
tigris.css:0: Resource based on http://snakehead/continuum/css/tigris.css but
cannot access the original
[Thu Dec 01 01:18:47 2011] [error] [mod_pagespeed 0.10.19.4-1209 @3221]
/var/mod_pagespeed/cache/NtfxZtKbtLGvGlXCiBO6.lock:0: failed to stat (code=2 No
such file or directory)
Config file
<IfModule pagespeed_module>
# Turn on mod_pagespeed. To completely disable mod_pagespeed, you
# can set this to "off".
ModPagespeed on
# Map all to localhost
#ModPagespeedMapOriginDomain localhost *
ModPagespeedFetcherTimeoutMs 20000
# Direct Apache to send all HTML output to the mod_pagespeed
# output handler.application/x-javascript
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html text/plain text/xml text/css application/x-javascript
# The ModPagespeedFileCachePath and
# ModPagespeedGeneratedFilePrefix directories must exist and be
# writable by the apache user (as specified by the User
# directive).
ModPagespeedFileCachePath "/var/mod_pagespeed/cache/"
ModPagespeedGeneratedFilePrefix "/var/mod_pagespeed/files/"
# Override the mod_pagespeed 'rewrite level'. The default level
# "CoreFilters" uses a set of rewrite filters that are generally
# safe for most web pages. Most sites should not need to change
# this value and can instead fine-tune the configuration using the
# ModPagespeedDisableFilters and ModPagespeedEnableFilters
# directives, below. Valid values for ModPagespeedRewriteLevel are
# PassThrough, CoreFilters and TestingCoreFilters.
#
# ModPagespeedRewriteLevel PassThrough
# Explicitly disables specific filters. This is useful in
# conjuction with ModPagespeedRewriteLevel. For instance, if one
# of the filters in the CoreFilters needs to be disabled for a
# site, that filter can be added to
# ModPagespeedDisableFilters. This directive contains a
# comma-separated list of filter names, and can be repeated.
#
ModPagespeedDisableFilters inline_javascript,extend_cache,combine_css,rewrite_images
# Explicitly enables specific filters. This is useful in
# conjuction with ModPagespeedRewriteLevel. For instance, filters
# not included in the CoreFilters may be enabled using this
# directive. This directive contains a comma-separated list of
# filter names, and can be repeated.
#
# ModPagespeedEnableFilters rewrite_javascript,rewrite_css
# ModPagespeedEnableFilters collapse_whitespace,elide_attributes
# ModPagespeedDomain
# authorizes rewriting of JS, CSS, and Image files found in this
# domain. By default only resources with the same origin as the
# HTML file are rewritten. For example:
#
# ModPagespeedDomain cdn.myhost.com
#
# This will allow resources found on http://cdn.myhost.com to be
# rewritten in addition to those in the same domain as the HTML.
#
# Wildcards (* and ?) are allowed in the domain specification. Be
# careful when using them as if you rewrite domains that do not
# send you traffic, then the site receiving the traffic will not
# know how to serve the rewritten content.
# Other defaults (cache sizes and thresholds):
#
# ModPagespeedFileCacheSizeKb 102400
# ModPagespeedFileCacheCleanIntervalMs 3600000
# ModPagespeedLRUCacheKbPerProcess 1024
# ModPagespeedLRUCacheByteLimit 16384
# ModPagespeedCssInlineMaxBytes 2048
# ModPagespeedImgInlineMaxBytes 2048
# ModPagespeedJsInlineMaxBytes 2048
# ModPagespeedCssOutlineMinBytes 3000
# ModPagespeedJsOutlineMinBytes 3000
# Bound the number of images that can be rewritten at any one time; this
# avoids overloading the CPU. Set this to 0 to remove the bound.
#
# ModPagespeedImgMaxRewritesAtOnce 8
# When Apache is set up as a browser proxy, mod_pagespeed can record
# web-sites as they are requested, so that an image of the web is built up
# in the directory of the proxy administrator's choosing. When ReadOnly is
# on, only files already present in the SlurpDirectory are served by the
# proxy.
#
# ModPagespeedSlurpDirectory ...
# ModPagespeedSlurpReadOnly on
# The maximum URL size is generally limited to about 2k characters
# due to IE: See http://support.microsoft.com/kb/208427/EN-US.
# Apache servers by default impose a further limitation of about
#250 characters per URL segment (text between slashes).
# mod_pagespeed circumvents this limitation, but if you employ
# proxy servers in your path you may need to re-impose it by
# overriding the setting here. The default setting is 1024
# characters.
#
# ModPagespeedMaxSegmentLength 250
# Uncomment this if you want to prevent mod_pagespeed from combining files
# (e.g. CSS files) across paths
#
# ModPagespeedCombineAcrossPaths off
# Enables server-side instrumentation and statistics. If this rewriter is
# enabled, then each rewritten HTML page will have instrumentation javacript
# added that sends latency beacons to /mod_pagespeed_beacon. These
# statistics can be accessed at /mod_pagespeed_statistics. You must also
# enable the mod_pagespeed_statistics and mod_pagespeed_beacon handlers
# below.
#
# ModPagespeedEnableFilters add_instrumentation
# This handles the client-side instrumentation callbacks which are injected
# by the add_instrumentation filter.
# You can use a different location by adding the ModPagespeedBeaconUrl
# directive; see the documentation on add_instrumentation.
<Location /mod_pagespeed_beacon>
SetHandler mod_pagespeed_beacon
</Location>
# Uncomment the following line if you want to disable statistics entirely.
#
ModPagespeedStatistics off
# This page lets you view statistics about the mod_pagespeed module.
<Location /mod_pagespeed_statistics>
Order allow,deny
# You may insert other "Allow from" lines to add hosts you want to
# allow to look at generated statistics. Another possibility is
# to comment out the "Order" and "Allow" options from the config
# file, to allow any client that can reach your server to examine
# statistics. This might be appropriate in an experimental setup or
# if the Apache server is protected by a reverse proxy that will
# filter URLs in some fashion.
Allow from localhost
SetHandler mod_pagespeed_statistics
</Location>
</IfModule>
Original issue reported on code.google.com by jerry.du...@gmail.com on 1 Dec 2011 at 6:33
I noticed this commented-out line in your pagespeed.conf:
#ModPagespeedMapOriginDomain localhost *
Was that commented out before? I think you might need that or something
similar in order to enable mod_pagespeed to fetch HTTP resources from
http://snakehead/ , unless the machine running apache is talking to a custom
DNS server.
Another interesting option is ModPagespeedLoadFromFile.
Original comment by jmara...@google.com on 1 Dec 2011 at 12:47
Original issue reported on code.google.com by
jerry.du...@gmail.com
on 1 Dec 2011 at 6:33The text was updated successfully, but these errors were encountered: