Google mod_pagespeed合并和网址重写

时间:2013-01-23 21:42:23

标签: mod-pagespeed

我无法从google配置模块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/

我的sites-available / mod_pagespeed config:

<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/

关于什么可能出错的想法?​​

0 个答案:

没有答案