modified default configuration file (and the documentation associated) for installation with lighttpd, following issue #825

This commit is contained in:
Marrco 2012-08-07 19:05:27 +02:00
parent 7538e6c340
commit d3c70a1510
2 changed files with 7 additions and 7 deletions

View file

@ -73,7 +73,7 @@ The `99` in the prefix of the destination filename above is so that Lighttpd loa
Next open the configuration you just copied and edit it to match your site. Edit the `$HTTP["host"]` line and replace the variable contents with the subdomain where you are installing OpenPhoto. The value is a regular expression, so keep the `\.` which matches a period instead of any character as well as the `^` `$` to direct matching the beginning and end of the hostname respectively.
Now replace the path on the `server.document-root` line with the path to the `src` sub-directory where you downloaded/copied OpenPhoto. This path would be `/var/www/yourdomain.com/src` if you followed the directions in the last section exactly.
Now replace the path on the `server.document-root` line with the path to the `src/html` sub-directory where you downloaded/copied OpenPhoto. This path would be `/var/www/yourdomain.com/src/html` if you followed the directions in the last section exactly.
A few modules must be enabled for use by Lighty for our OpenPhoto install. First edit `/etc/lighttpd/lighttpd.conf` and uncomment the line for `mod_rewrite` under the `server.modules` section. Next enable PHP through the FastCGI module from the command line.