Fra*_*kie 0 apache httpd.conf mod-pagespeed
我一直在尝试使用mod_pagespeed,并且想知道是否有人知道如何向我添加规则httpd.conf,将自动将所有当前虚拟主机添加到正在运行的域列表中:
ModPagepeedDomain http://vhost1.com
ModPagepeedDomain http://vhost2.com
ModPagepeedDomain http://vhost3.com
Run Code Online (Sandbox Code Playgroud)
谢谢.
ModPagespeedDomain似乎接受通配符.从这里:
# 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.
ModPagespeedDomain *
Run Code Online (Sandbox Code Playgroud)
将其放在任何虚拟主机之外的conf文件中.
| 归档时间: |
|
| 查看次数: |
2446 次 |
| 最近记录: |