Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a router where I have root access. It runs a lighttpd server for the web interface and there are some CGIs accessible from the webserver that I can access using a web browser. The thing is that I want to get the CGIs but I can't find them in the www directory.

I tried to use find too in al the system looking for *cgi

The lighttpd process is launched with a config file that has info about using fastcgi:

fastcgi.server = (
 "/slow_stats" =>
  ( "localhost" =>
    (
      "socket"     => "/tmp/slow_fcgi_sock",
      "check-local" => "disable"
    )
  ),
 ".cgi" =>
  ( "localhost" =>
    (
      "socket"     => "/tmp/fcgi_sock",
      "check-local" => "disable"
    )
  ),
)

What does "socket" => "/tmp/fcgi_sock", mean? Where are the cgis?

If you need more info i'll be happy to provide it to you.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.