Saturday 24 October 2015

Configuring LightTPD for Windows 7 - part 1 - File locations and port

Part 1a - File Locations

Stored in
<install directory>/conf/lighttpd.conf
in the server.document-root property
e.g.
server.document-root = "/var/www/servers/www.example.org/pages/" 
or
server.document-root        = server_root + "/htdocs"

Key thing: the files do not need to be stored in a sub-directory of the web-server's install directory.

Part 1b - Server Port

server.port = 3000
or
## bind to port (default: 80)
#server.port                = 80

No comments:

Post a Comment