我无法从谷歌配置模块 mod_pagespeed。有我网站的.conf:
<VirtualHost *:80>
ServerName dev.a-very-new.com
DocumentRoot "/var/www/a-very-new/web/"
<Directory "/var/www/a-very-new/web/">
DirectoryIndex index.php
Options -Indexes FollowSymLinks SymLinksifOwnerMatch
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
ModPagespeed on
SetOutputFilter MOD_PAGESPEED_OUTPUT_FILTER
ModPagespeedFileCachePath "/var/mod_pagespeed/cache/"
ModPagespeedEnableFilters combine_css
ModPagespeedDomain http://dev.a-very-new.com/
我的站点可用/mod_pagespeed 配置:
<Location /mod_pagespeed_statistics>
Order allow,deny
Allow from 127.0.0.1
SetHandler mod_pagespeed_statistics
</Location>
<Location /mod_pagespeed_beacon>
SetHandler mod_pagespeed_beacon
</Location>
我网站的网址没有改变:
<link href="/lib/mesLibs/cms/css/main.css" rel="stylesheet" type="text/css">
<link href="/lib/mesLibs/cms/css/form.css" rel="stylesheet" type="text/css">
<link href="/lib/mesLibs/cms/css/header.css" rel="stylesheet" type="text/css">
<link href="/lib/mesLibs/cms/css/footer.css" rel="stylesheet" type="text/css">
我得到了这种错误:
[error] [client 127.0.0.1] File does not exist: /var/www/a-very-new/web/lib, referer http://dev.a-very-new.com/frontend/index/
一个想法可能是错的?