Guest User

30-cgi.conf

a guest
Oct 25th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. #######################################################################
  2. ##
  3. ## CGI modules
  4. ## ---------------
  5. ##
  6. ## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modcgi
  7. ##
  8. server.modules += ( "mod_cgi" )
  9.  
  10. ##
  11. ## Plain old CGI handling
  12. ##
  13. ## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
  14. ##
  15. #cgi.assign = ( ".pl" => "/opt/bin/perl",
  16. # ".cgi" => "/opt/bin/perl",
  17. # ".rb" => "/opt/bin/ruby",
  18. # ".erb" => "/opt/bin/eruby",
  19. # ".py" => "/opt/bin/python" )
  20.  
  21. ##
  22. ## to get the old cgi-bin behavior of apache
  23. ##
  24. ## Note: make sure that mod_alias is loaded if you uncomment the
  25. ## next line. (see modules.conf)
  26. ##
  27. #alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
  28. #$HTTP["url"] =~ "^/cgi-bin" {
  29. # cgi.assign = ( "" => "" )
  30. #}
  31.  
  32. ##
  33. #######################################################################
Add Comment
Please, Sign In to add comment