operating_systems:raspbian:easydoor_configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
operating_systems:raspbian:easydoor_configuration [2019/07/15 09:34] – [Lighttpd setup] maferreira | operating_systems:raspbian:easydoor_configuration [2019/07/16 12:34] – [Lighttpd setup] maferreira | ||
---|---|---|---|
Line 237: | Line 237: | ||
$HTTP[" | $HTTP[" | ||
server.document-root = "/ | server.document-root = "/ | ||
- | server.errorlog = "/ | ||
} | } | ||
+ | |||
+ | <note important> | ||
+ | server.errorlog is not set here because lighttpd only supports one error log file for the server | ||
+ | (it does not support a error log file for each virtual host) | ||
+ | </ | ||
Enable the virtual host you have just created by creatign a symlink to / | Enable the virtual host you have just created by creatign a symlink to / | ||
Line 253: | Line 257: | ||
# lighttpd-enable-mod accesslog | # lighttpd-enable-mod accesslog | ||
+ | |||
+ | Now, set the access log file location in your **/ | ||
+ | $HTTP[" | ||
+ | server.document-root | ||
+ | accesslog.filename | ||
+ | } | ||
Restart **lighttpd** and see if there are any errors. | Restart **lighttpd** and see if there are any errors. | ||
Line 263: | Line 273: | ||
d / | d / | ||
- | References:\\ | + | === References |
- | [[https:// | + | Install lighttp and enable PHP - [[https:// |
- | [[https:// | + | Enable PHP on lighttpd - [[https:// |
- | [[https:// | + | Setup virtual hosts - [[https:// |
- | [[https:// | + | Virtual host log file warning - [[https:// |
+ | Accesslog module activation - [[https:// | ||
+ | Lighttpd fails to create log files - [[https:// | ||
===== Strike ===== | ===== Strike ===== |