PDA

View Full Version : Support for lighttpd weberver


nodes
13-09-2010, 12:02 PM
Hello

Recently apache (httpd webserver) used all RAM of my VPS so i decided to move to a lighter and faster web server lighttpd.

I installed it and replaced it with apache and the result was owsome. my site was 200% faster and resource usage was hardly 40% as compared to apache but then link verifier bot stoped working. It just keep showing loading when i manually run the schedule task and my site got stuck.

Please can you verify if it was some configuration problem or really link verifier bot is not compatible with lighttpd.

Thank You

PHPKD
13-09-2010, 06:38 PM
Hello Sourabh,

Not sure if there's something product specific can affect this or not, but for your info the product uses native vBulletin functions to do it's work, so as soon as vBulletin is working well specially features like RSS importer since it uses a similar techniques, as soon as it's working well then the product supposed to work well as well!
Please make sure you've set posts to be checked in each post is as low as you can, '50' is recommended.
Let me know if there's any new in regard to this issue.

Best Regards
Abdelrahman - PHP KingDom

nodes
13-09-2010, 08:59 PM
well i have decided to stick with apache but here is some information which maybe help you to make your product more compatible with lighttpd

I use vbseo rewrite rules in my forum and lighttpd have different rules than apache

"$HTTP["host"] == "yourdomain.com" {
server.document-root = "/path/to/your/public_html/"
url.rewrite-once = (
"^/forums/(sitemap.*\.(xml|txt)(\.gz)?)$" => "/forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1",
"^(/forums/(admincp|modcp|clientscript|cpstyles|images|custom avatars)/.*)$" => "$1",
"^(/favicon\.ico|/robots\.txt|.*clear\.gif)$" => "$1",
"^/forums/(.+)\?(.*)$" => "/forums/vbseo.php?$2",
"^/forums/(.+)$" => "/forums/vbseo.php"
)
}"

lighttpd do not support .htaccess we have to add those rewrite rules in its config file.

So when i added them and restarted lighttpd some features/addons of vbulletin stopped working like

shoutbox
top staticstics

I am not a php expert but most things which update without refreshing the browser (maybe by ajax) stopped working after I added these rewrite rules. So this can be a reason of hanging the site when i run it?

however my problem is solved you can move this thread to solved problem

Thanks for help

PHPKD
14-09-2010, 06:28 PM
Hello Sourabh,

Nothing from these can affect the product, but I think it may be cURL was not installed on your lighthttpd, it's additional module that's required for the product to run -or compatible technique-.
Any way it's good that your problem already solved :).
.. Moved to closed issues ..

Best Regards
Abdelrahman - PHP KingDom