<note>First consider fallowing all the previous steps the WD MyBook World Edition Hacks tutorial</note> <note tip>Please read the official Lighttpd documentation before proceeding. Lighttpd Configuration Options</note>
This chapter is based on Martin Hinner's hack: Using built-in lighttpd to serve webpages
# mkdir /shares/internal/PUBLIC/www/ # ln -s /shares/internal/PUBLIC/www/ /usr/www/lib/
"nasMaster.pl" => (( "socket" => "/tmp/lighttpd.fcgi.socket", "check-local" => "disable", )), ".php" => (( "bin-path" => "/usr/local/php5/bin/php-cgi", "socket" => "/tmp/php.socket", ))
# /etc/init.d/lighttpd restart
<?php phpinfo(); ?>
http://DEVICE_NAME/www/index.php