Re: [WebDNA] lighttpd config
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108401
interpreted = N
texte = One issue is to edit the webdna.ini file to make sure the UnixUser is =set to lighttpd'sHere a quick and dirty entire config for a lighttpd + WebDNA 7 on a OSX =LION server with www.domain1.com running as default domain:-------------------------server.modules =3D ( "mod_access", "mod_cgi", "mod_fastcgi", "mod_compress", "mod_accesslog"=20)server.port =3D 80server.username =3D "www"server.groupname =3D "www"server.pid-file =3D "/var/run/lighttpd.pid"server.document-root =3D "/Library/WebServer/Documents/www.domain1.com/"server.errorlog =3D "/Library/Logs/LightTPD/domain1-error.log"accesslog.format =3D "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" =\"%{User-Agent}i\""accesslog.filename =3D "/Library/Logs/LightTPD/domain1-access.log"index-file.names =3D ( "index.html", "index.htm" )mimetype.assign =3D ( ".pdf" =3D> "application/pdf", ".sig" =3D> "application/pgp-signature", ".spl" =3D> "application/futuresplash", ".class" =3D> "application/octet-stream", ".ps" =3D> "application/postscript", ".torrent" =3D> "application/x-bittorrent", ".dvi" =3D> "application/x-dvi", ".gz" =3D> "application/x-gzip", ".pac" =3D> "application/x-ns-proxy-autoconfig", ".swf" =3D> "application/x-shockwave-flash", ".tar.gz" =3D> "application/x-tgz", ".tgz" =3D> "application/x-tgz", ".tar" =3D> "application/x-tar", ".zip" =3D> "application/zip", ".mp3" =3D> "audio/mpeg", ".m3u" =3D> "audio/x-mpegurl", ".wma" =3D> "audio/x-ms-wma", ".wax" =3D> "audio/x-ms-wax", ".ogg" =3D> "application/ogg", ".wav" =3D> "audio/x-wav", ".gif" =3D> "image/gif", ".jpg" =3D> "image/jpeg", ".jpeg" =3D> "image/jpeg", ".png" =3D> "image/png", ".xbm" =3D> "image/x-xbitmap", ".xpm" =3D> "image/x-xpixmap", ".xwd" =3D> "image/x-xwindowdump", ".css" =3D> "text/css", ".html" =3D> "text/html", ".htm" =3D> "text/html", ".dna" =3D> "text/html", ".js" =3D> "text/javascript", ".asc" =3D> "text/plain", ".c" =3D> "text/plain", ".cpp" =3D> "text/plain", ".log" =3D> "text/plain", ".conf" =3D> "text/plain", ".text" =3D> "text/plain", ".txt" =3D> "text/plain", ".dtd" =3D> "text/xml", ".xml" =3D> "text/xml", ".mpeg" =3D> "video/mpeg", ".mpg" =3D> "video/mpeg", ".mov" =3D> "video/quicktime", ".qt" =3D> "video/quicktime", ".avi" =3D> "video/x-msvideo", ".asf" =3D> "video/x-ms-asf", ".asx" =3D> "video/x-ms-asf", ".wmv" =3D> "video/x-ms-wmv", ".bz2" =3D> "application/x-bzip", ".tbz" =3D> "application/x-bzip-compressed-tar", ".tar.bz2" =3D> "application/x-bzip-compressed-tar" )static-file.exclude-extensions =3D ( ".fcgi", ".php", ".dna", ".rb", "~", ".inc", ".dat", ".db", =".conf", ".ini")url.access-deny =3D ( "~", ".inc", ".dat", ".db", ".conf", ".ini")fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D> ( "bin-path" =3D> ="/Library/WebServer/Documents/www.domain1.com/WebDNA/WebDNA.fcgi", "socket" =3D> "/tmp/dna-fastcgi-0.socket", "max-procs" =3D> 1, "broken-scriptfilename" =3D> "enable", "check-local" =3D> "disable", ) ))=20# DOMAIN2 ==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D$HTTP["host"] =3D~ "www\.domain2\.com" { server.document-root =3D ="/Library/WebServer/Documents/www.domain2.com/" server.errorlog =3D "/Library/Logs/LightTPD/domain2-error.log" accesslog.filename =3D "/Library/Logs/LightTPD/domain2-access.log" fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D>=20 (=20 "bin-path" =3D> ="/Library/WebServer/Documents/www.domain2.com/WebDNA/WebDNA.fcgi", "socket" =3D> "/tmp/dna-fastcgi-1.socket", "max-procs" =3D> 1, "broken-scriptfilename" =3D> "enable", "check-local" =3D> "disable" ) ) )}-------------------------On Feb 1, 2012, at 16:16, Kenneth Grome wrote:> This part of the lighttpd.conf file prevents lighttpd from=20> starting, any idea why?:>=20> fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D> (> "socket" =3D> "/var/log/lighttpd/webdna.socket",=20> "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",=20> "max-procs" =3D> 1,=20> )))>=20> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list
.> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
One issue is to edit the webdna.ini file to make sure the UnixUser is =set to lighttpd'sHere a quick and dirty entire config for a lighttpd + WebDNA 7 on a OSX =LION server with www.domain1.com running as default domain:-------------------------server.modules =3D ( "mod_access", "mod_cgi", "mod_fastcgi", "mod_compress", "mod_accesslog"=20)server.port =3D 80server.username =3D "www"server.groupname =3D "www"server.pid-file =3D "/var/run/lighttpd.pid"server.document-root =3D "/Library/WebServer/Documents/www.domain1.com/"server.errorlog =3D "/Library/Logs/LightTPD/domain1-error.log"accesslog.format =3D "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" =\"%{User-Agent}i\""accesslog.filename =3D "/Library/Logs/LightTPD/domain1-access.log"index-file.names =3D ( "index.html", "index.htm" )mimetype.assign =3D ( ".pdf" =3D> "application/pdf", ".sig" =3D> "application/pgp-signature", ".spl" =3D> "application/futuresplash", ".class" =3D> "application/octet-stream", ".ps" =3D> "application/postscript", ".torrent" =3D> "application/x-bittorrent", ".dvi" =3D> "application/x-dvi", ".gz" =3D> "application/x-gzip", ".pac" =3D> "application/x-ns-proxy-autoconfig", ".swf" =3D> "application/x-shockwave-flash", ".tar.gz" =3D> "application/x-tgz", ".tgz" =3D> "application/x-tgz", ".tar" =3D> "application/x-tar", ".zip" =3D> "application/zip", ".mp3" =3D> "audio/mpeg", ".m3u" =3D> "audio/x-mpegurl", ".wma" =3D> "audio/x-ms-wma", ".wax" =3D> "audio/x-ms-wax", ".ogg" =3D> "application/ogg", ".wav" =3D> "audio/x-wav", ".gif" =3D> "image/gif", ".jpg" =3D> "image/jpeg", ".jpeg" =3D> "image/jpeg", ".png" =3D> "image/png", ".xbm" =3D> "image/x-xbitmap", ".xpm" =3D> "image/x-xpixmap", ".xwd" =3D> "image/x-xwindowdump", ".css" =3D> "text/css", ".html" =3D> "text/html", ".htm" =3D> "text/html", ".dna" =3D> "text/html", ".js" =3D> "text/javascript", ".asc" =3D> "text/plain", ".c" =3D> "text/plain", ".cpp" =3D> "text/plain", ".log" =3D> "text/plain", ".conf" =3D> "text/plain", ".text" =3D> "text/plain", ".txt" =3D> "text/plain", ".dtd" =3D> "text/xml", ".xml" =3D> "text/xml", ".mpeg" =3D> "video/mpeg", ".mpg" =3D> "video/mpeg", ".mov" =3D> "video/quicktime", ".qt" =3D> "video/quicktime", ".avi" =3D> "video/x-msvideo", ".asf" =3D> "video/x-ms-asf", ".asx" =3D> "video/x-ms-asf", ".wmv" =3D> "video/x-ms-wmv", ".bz2" =3D> "application/x-bzip", ".tbz" =3D> "application/x-bzip-compressed-tar", ".tar.bz2" =3D> "application/x-bzip-compressed-tar" )static-file.exclude-extensions =3D ( ".fcgi", ".php", ".dna", ".rb", "~", ".inc", ".dat", ".db", =".conf", ".ini")url.access-deny =3D ( "~", ".inc", ".dat", ".db", ".conf", ".ini")fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D> ( "bin-path" =3D> ="/Library/WebServer/Documents/www.domain1.com/WebDNA/WebDNA.fcgi", "socket" =3D> "/tmp/dna-fastcgi-0.socket", "max-procs" =3D> 1, "broken-scriptfilename" =3D> "enable", "check-local" =3D> "disable", ) ))=20# DOMAIN2 ==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D$HTTP["host"] =3D~ "www\.domain2\.com" { server.document-root =3D ="/Library/WebServer/Documents/www.domain2.com/" server.errorlog =3D "/Library/Logs/LightTPD/domain2-error.log" accesslog.filename =3D "/Library/Logs/LightTPD/domain2-access.log" fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D>=20 (=20 "bin-path" =3D> ="/Library/WebServer/Documents/www.domain2.com/WebDNA/WebDNA.fcgi", "socket" =3D> "/tmp/dna-fastcgi-1.socket", "max-procs" =3D> 1, "broken-scriptfilename" =3D> "enable", "check-local" =3D> "disable" ) ) )}-------------------------On Feb 1, 2012, at 16:16, Kenneth Grome wrote:> This part of the lighttpd.conf file prevents lighttpd from=20> starting, any idea why?:>=20> fastcgi.server =3D ( ".dna" =3D> ( "localhost" =3D> (> "socket" =3D> "/var/log/lighttpd/webdna.socket",=20> "bin-path" =3D> "/var/www/WebDNA/WebDNA.fcgi",=20> "max-procs" =3D> 1,=20> )))>=20> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
cybercash (1997)
RE: [WebDNA] Intermittent Encryption Issue (2009)
Meet your competition (2000)
Text data with spaces in them... (1997)
New Cart No. on same page (2003)
Associative lookup style? + bit more (1997)
How do you hide [math]stuff[/math] (1997)
[authenticate] (2000)
[OT] Mozilla | Was: R.I.P. Netscape (2003)
BUG REPORT: numeric ge, le, gr & ls comparisons don't work... (1999)
I'm new be kind (1997)
Possible Bug in 2.0b15.acgi (1997)
XML values to database records (grep?) (2000)
Math Problem - Format? (1997)
Confirmation emails classified as junk (2000)
Running 2 two WebCatalog.acgi's (1996)
File Upload problem solved (2002)
PCS Frames (1997)
This is an odd error (2001)
Not reading code (1997)