Questions about Lighttpd for Windows

I use lighty for windows, yes, I know that it is not linux, but atm can only afford local hosting, which then allows me to learn a lot and practice my website skills.

I know fast-cgi does not work on Windows, but I wonder what other ways to improve performance?

I was also interested in how to hide all the windows / boxes of lightpd.exe that appear every time someone or a bot visits a site ... can lighttpd be launched from the background? I run it as a service, and that's fine ...

But overall, why is there so little support for lighty on windows?

And I could really pay less attention to another lecture on why everything should be on linux or windows ... This discussion is really a waste of time ... mine and yours ...

If you have any useful information, I definitely want to hear it.

I think I'm one of those guys who always want to learn how to improve things, it's like a drug for me to get any percentage more in productivity ...

Like, for example, I added a subdomain because yslow loves the subdomain of image hosting, css and javascript ...

I really like the light, I just hope that I'm not the only one there ... uses it on the windows ... and all the websites light for the windows seem to be dead ... or forgotten ...

Thank you for your time.

-Craig

+5
3

lighttpd Windows, lighttpd PHP Python, USB- USB, , Windows 7 , ( , ).

, lighttpd ( USB-):

  • ( )
  • ( 20 )
  • PHP .php , Python .py
  • , , SSL .. ( 5)

, :

var.Doo = "C:/your/base/path/here"

# LightTPD Configuration File

server.port = 80
server.name = "localhost"
server.tag = "LightTPD/1.4.20"
server.document-root = var.Doo + "/WWW/"
server.upload-dirs = ( var.Doo + "/TMP/" )
server.errorlog = var.Doo + "/LightTPD/logs/error.log"
server.modules = ( "mod_access", "mod_cgi", "mod_dirlisting", "mod_indexfile", "mod_staticfile" )

# mod_access
url.access-deny = ( ".db" )

# mod_cgi
cgi.assign = ( ".php" => var.Doo + "/PHP/php-cgi.exe", ".py" => var.Doo + "/Python/python.exe" )

# mod_dirlisting
dir-listing.activate = "enable"

# mod_indexfile
index-file.names = ( "index.php", "index.html" )

# mod_mimetype
mimetype.assign = ( ".css" => "text/css", ".gif" => "image/gif", ".html" => "text/html", ".jpg" => "image/jpeg", ".js" => "text/javascript", ".png" => "image/png", ".txt" => "text/plain", ".xml" => "text/xml" )

# mod_staticfile
static-file.exclude-extensions = ( ".php", ".py" )

, :

  • mod_access
  • mod_cgi
  • mod_dirlisting
  • mod_indexfile
  • mod_staticfile

, USB, .

PS: nginx, , , , nginx, , LightTPD.

+3

, , , , , . , , , Linux. , , Linux ...

, -, , , , , ( ). , , , , ( sandbox? OO). : , ( : , - ... -). fastcgi, / stackoverflow: FastCGI Windows Lighttpd. , scgi, .

, Atwood yslow: codinghorror.com/blog/archives/000932.html

; , , lighty , apache, . IIS, lighty Windows. , , lighttpd . , , , . , .

+2

Try nginx - another easy apache alternative, fast and stable. fastcgi on windows is working fine. As for your question - I think the reason is that lighttpd is losing its popularity, look at the web server statistics. Thus, fewer people use it, fewer tested functions, more errors are hidden.

0
source

All Articles