0

I have running lighttpd 1.4.59 on Lubuntu 21.10. My lighttpd.conf contains:

fastcgi.server = ( "/" => (( "bin-path" => "/var/www/html/script.fcgi", "socket" => "127.0.0.1:80", "min-procs" => 1, "max-procs" => 1, "doc-root" => "/" ))) 

There are still no problems and both 'localhost' and 'localhost/script.fcgi' are working. But if I change '"/" =>' to '"/foo" =>' then I can not get access to the /foo route because of '404 Not found' code. How to provide access to script.fcgi only if user type 'localhost/foo' in an address bar? Thanks a lot.

1 Answer 1

1

"check-local" => "disable"

https://wiki.lighttpd.net/Docs_ModFastCGI

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.