freebsd restart lighttpd

If users try to open a Web page (http://example.com/dir1/file.php); I’d like to display a “URL Access Denied” message for /dir1/, /www/, and /dir2/cache/ directories under lighttpd web server? How do I configure lighttpd to deny access to directory?

{ 2 comments }

I‘m unable to find any command(s) to stop lighttpd web server. How do I stop / start / restart Lighttpd on Debian/Ubuntu Linux installed using apt-get command? How do I restart lighttpd on RHEL / CentOS installed using yum command? How do I restart lighttpd on FreeBSD Unix operating systems?

{ 1 comment }