Home » Linux OS and Software » Templates » What does Apache+Lighttpd entitle for HIB template?
Tue, 10 May 2011 20:34 Go to next message
Registered: May 2011
Messages: 10
Ok, here comes a newbie question. The description for the HID template says it comes pre-installed with "Apache+Lighttpd". What is exactly does this entitle?

I have some experience with Apache but not with Lighttpd. But from what I've gathered from myPhpAdmin and phpinfo, it looks like the MySql server is running from Lighttpd while the web server is running from Apache. Is this correct?

If they are both running, why does Kloxo report only the httpd service as running, and they lighttpd as only "start on boot"? Furthermore, I only see httpd in the process list? What am I missing here?

Note, this is on a fresh HIB install.
Wed, 11 May 2011 04:56 Go to previous messageGo to next message
Registered: January 2009
Messages: 62
Only lighty is running.

It is possible, I have not confirmed, that the admin interface process reports as being Apache because of the use of Apache technologies.

Apache is provided as a ready to run option for those situations where lighty just does not cut the mustard. These situations will be few and far between for a typical indie server.

There are many that switch to Apache to enable the use of complex .htaccess files that come with 3rd party apps, this is not required as there is a 3rd party lighty module that enables the use of .htaccess files.

Some switch to Apache due to the notorious difficulty of getting lighty to proxy and serve up static content for Django. This too is possible, you just have to plug away at it. Smile

Hope this helps.

Later,
Chris
Wed, 11 May 2011 11:18 Go to previous messageGo to next message
Registered: May 2011
Messages: 10
Thx for the reply! That explains a lot. I'm in the process of porting 3rd party software over from a shared Apache host. So far, it's not so happy about the change of home. I've since found that it's complaining about the lack of the mod_rewrite module. As you've suggested, I'll try my luck with a lighty equivalent for the module.

I was confused about Apache+lighty after reading online content about simultaneous use of the two. Apparently some people are running both servers under the same domain to handle different functions (ie. Apache for php and lighty for most else) while others have both on the same VPS, each to handle a different IP. In any case, I'm glad only one is running. This seems more straight forward (at least for newbie).
Thu, 12 May 2011 10:16 Go to previous message
Registered: May 2011
Messages: 10
FYI.

Turns out Apache was running. Not sure exactly why, but once I had a domain configured in Kloxo the server switched to Lighty. Maybe Kloxo is setup to use Apache as a default until a domain is set? Or maybe I got my VPS into a funny state? Not sure, but in any case both phpinfo and Kloxo report Lighty as running, whereas previous to setting up my domain they both reported Apache.

I couldn't find any 3rd party modules that enable htaccess files for Lighty, just lots of talk/dispute about it. If anybody knows of one, please let me know. I'd still like to try it if it exists.

Lucky for me, I found mod_rewrite translations (Apache->Lighty) for the .htaccess files my software uses. Just dropped them into lightppd.conf and everything runs fine!
Previous Topic:Remote Desktop Instructions
Next Topic:Instant VPN Connection Problem Certain Websites
Goto Forum:
  


Current Time: Thu Jun 22 10:07:57 EDT 2017
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2006 FUD Forum Bulletin Board Software