2015年4月20日 星期一

[lighttpd] The settings about lighttpd



lighttpd :
Basic Setup
Copy the lighttpd.conf from /usr/shar/doc/lighttpd/config/lighttpd.conf
The lighttpd configuration file is: /etc/lighttpd/lighttpd.conf.
In the /etc/lighttpd/lighttpd.conf have include modules.conf
Copy the modules.conf from /usr/shar/doc/lighttpd/config/modules.conf

FastCGI :
Install fcgi. Now you have lighttpd with fcgi support.
And If want to enable fastcgi, then copy fastcgi.conf from /usr/shar/doc/lighttpd/config/conf.d/fastcgi.conf
In your modules configuration file, /etc/lighttpd/modules.conf add:
include "conf.d/fastcgi.conf"

CGI :
Need to enable the CGI module, include the configuration file and make sure your chosen programing language interpreter is installed.
In your modules configuration file, /etc/lighttpd/modules.conf add:
include "conf.d/cgi.conf"
Reference:

0 意見:

張貼留言