openlitespeed 1.4.11 with modpagespeed

Discussion in 'OpenLiteSpeed Bug Reports' started by Udo Pasch, Aug 18, 2015.

  1. Udo Pasch

    Udo Pasch Guest

    Hello together,

    over the last weekend i setup my first OLS. Evereythin works perfekt, but installed module modpagespeed seem not working. Can't see any changes inside http-source after loading!

    Module config - Server configuration:
    pagespeed on
    pagespeed SslCertDirectory /etc/ssl/certs
    pagespeed SslCertFile /usr/local/lsws/admin/conf/http2.pem
    pagespeed FetchHttps enable
    pagespeed FileCachePath /tmp/lshttpd/pagespeed
    pagespeed Disallow "*/typo3/*"

    Module config - Vhost configuration (only additional rules):
    pagespeed Allow "*"
    pagespeed RewriteLevel CoreFilters
    pagespeed EnableFilters extend_cache
    pagespeed EnableFilters rewrite_css,rewrite_javascript,defer_javascript
    pagespeed EnableFilters dedup_inlined_images,lazyload_images

    Didn't have any problems when compiling the module sources. Also it is installed correctly in the server configuration and aditional confs inside specific vhosts.

    Hostconf: Debian Jessie, mysql5.5 from the org. Repositories, php 5.4, 5.5, 5.6 compiled via OLS Gui. Additional compiled PHP-Modules from Perc Source. No errors inside server logs!

    Enabled HTTP2/SPDY and use Rewrite to force HTTPS for Fallback.

    Any ideas to get it working?

    Greetings Udo
  2. David

    David Guest


    I did some test of this issue and I found current version does not support "FetchHttps", if you want to support Https, you'd better to use the LoadFromFile way to config it.
    For example, my testing site is, so that
    I added the below line to the param block of the module modpagespeed
    pagespeed LoadFromFile /home/user/ls1412/Example/html/
    and then it can correctly fetch the https pages.
    Thanks for your feedback.

  3. David

    David Guest

    BTW, maybe we can support "FetchHttps" in the next version, then, you can use either way to fetch the https.


Share This Page