Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule /> block) of /etc/apache2/mods-available/pagespeed.conf
| #!/bin/sh | |
| PROJECT=`php -r "echo dirname(dirname(dirname(realpath('$0'))));"` | |
| STAGED_FILES_CMD=`git diff --cached --name-only --diff-filter=ACMR HEAD | grep \\\\.php` | |
| # Determine if a file list is passed | |
| if [ "$#" -eq 1 ] | |
| then | |
| oIFS=$IFS | |
| IFS=' |
Follow initial install instructions here
Add the following to the bottom (but inside the <IfModule /> block) of /etc/apache2/mods-available/pagespeed.conf
<VirtualHost *:80>
ServerName projectname.local
ProxyPass / http://localhost:8001/
ProxyPassReverse / http://localhost:8001/
ProxyPreserveHost On
</VirtualHost>