我正在寻找一个专为LAMP服务器devise的工具,它结合了服务器错误日志,访问日志,慢速查询日志,PHP脚本的执行时间,stream量和每秒统计信息(例如来自RRDTool)的统计信息,并将它们合并为一个按时间顺序列表。 你知道这种工具吗?
我已经安装(作为根) aptitude install curl php5-curl libcurl3 libcurl3-dev 并添加extension = curl.so到我的php.ini(我认为这不是自动完成的,因为我使用的是Lighty而不是apache) service lighttpd restart 但仍然没有运气,当我运行phpinfo()时没有任何关于cURL的信息 curl.so位于/ usr / lib / php5 / 20090626
我用fast-cgi安装了lighttpd。 然后我安装了webmin。 看来webmin已经接pipe了lighttpd安装,并且改变了PHPconfiguration,添加了一些他们自己的环境variables,我真的不想暴露在服务器上运行的常规网站。 例如: 浏览http:///index.php并打印出phpinfo() DOCUMENT_REALROOT /usr/libexec/webmin DOCUMENT_ROOT /usr/libexec/webmin SERVER_REALROOT /usr/libexec/webmin HTTP_REFERER https://<SERVERIP>:10000/init/edit_action.cgi?0+lighttpd QUERY_STRING file=%2Fetc%2Frc%2Ed%2Finit%2Ed%2Flighttpd&name=lighttpd&restart=1&back=edit%5Faction%2Ecgi%3F0%2Blighttpd 所以基本上,我的问题是如何将webmin从常规lighttpd端口80configuration中取出,并且只有在webmin端口为10000的情况下,才能将webmin保留在其中。具体而言,HTTP_REFERER和QUERY_STRING给我带来麻烦,因为这些是用于统计和configuration。
为了在Drupal中启用干净的URL,我将下面的行添加到lighttpdconfiguration文件中。 但是,我现在正在本地服务器上工作,我没有可用的域。 所以我需要使用这个地址192.168.75.159:81/Sites/drupal/ 我尝试用[“套接字”]replace[“主机”],并用ip和子文件夹(请参阅上面的地址)replace域名,但未成功。 即使我没有域名,我如何设置configuration文件来设置干净的URL? 谢谢 $HTTP["host"] =~ "(^|\.)mywebsite\.com" { server.document-root = "/var/www/sites/mywebsite" server.errorlog = "/var/log/lighttpd/mywebsite/error.log" server.name = "mywebsite.com" accesslog.filename = "/var/log/lighttpd/mywebsite/access.log" include_shell "./drupal-lua-conf.sh mywebsite.com" url.access-deny += ( "~", ".inc", ".engine", ".install", ".info", ".module", ".sh", "sql", ".theme", ".tpl.php", ".xtmpl", "Entries", "Repository", "Root" ) # "Fix" for Drupal SA-2006-006, requires lighttpd 1.4.13 or above # Only […]
我要在我的服务器上安装APC来增强Drupal的性能,但是我在网上看到,如果我的内存很小,这可能是一个风险,性能可能会变差。 我有256MB内存,所以我想知道安装APC是否合理,我应该分配多less内存。 PS。 我正在运行lighttpd作为Web服务器 谢谢
我正在通过使用lighttpd为静态媒体优化网站。 我发现推荐的解决scheme是使用Apache Proxy来指向lighttpd服务器。 但是,每个请求是否使用了Apache线程/进程? 在我的设置中,我注意到我的所有进程都用完了,即使他们没有做任何事情,CPU也是如此。 为了释放apache进程,我configuration了lighttpd,并且所需进程的数量明显降低,Munin表示。 不过,我已经设置了它直接连接到lighty,以防止阿帕奇工作人员被占用服务静态媒体。 我的问题是:在使用Apache Proxy时,是否每个请求都使用一个进程/ worker?
对于nginx来说,有一个非常好的模块可以用来过滤响应并search/replace内容: http : //wiki.nginx.org/HttpSubModule 我想知道,如果有lighttpd可用类似的可能性? 提前致谢,
我想build立一个服务器与lighttpd和tomcat我的conf是在下面 server.modules = ( "mod_access", "mod_alias", "mod_accesslog", "mod_compress" "mod_proxy", "mod_fastcgi", # "mod_rewrite", # "mod_redirect", # "mod_evhost", # "mod_usertrack", # "mod_rrdtool", # "mod_webdav", # "mod_expire", # "mod_flv_streaming", # "mod_evasive" ) ## a static document-root, for virtual-hosting take look at the ## server.virtual-* options server.document-root = "/var/www/" ## where to upload files to, purged daily. server.upload-dirs = […]
只是将它安装在我的Linux桌面上,我只想要1或2个文件访问外部世界。 其他一切应该只能通过http:// localhost /为了各种隐私/安全原因访问。 它只是一个testing服务器,不希望任何人访问我的大批量文件。 你将如何去只允许某些select文件访问互联网,并使所有其他可用只能通过http:// localhost / ?
我正在按照以下教程进行正确的操作: http ://howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-fedora-14 但是现在我得到这个错误: [root@fedora lighttpd]# /etc/init.d/lighttpd start Starting lighttpd: 2011-03-24 00:06:03: (configfile.c.907) source: /etc/lighttpd/lighttpd.conf line: 326 pos: 92 parser failed somehow near here: include_shell [FAILED] 我该如何解决这个问题? 谢谢…