We've been thinking about writing our own hosting control panel for our own
"tight" hosting setup, so that can alter the panel just to our needs without relying on updates from anybody else.
To read new configurations in Lighttpd or Apache, as far as I know, requires the software to be restarted (for example service apache restart). Are there any negative effects of this, I'm assuming that whilst being restarted there is a small amount of time during which the software is "down" and websites can't be accessed during that period (probably <1 second). Am I correct?
What is the best way to reload configurations into these http servers without service interruption? I notice that DirectAdmin seems to just restart Apache on any function that alters the configuration file - for example adding a new user.
Apache Version: 2.2.29 OS Version: Windows 2012 R2 64 bit OS
Restart of apache is happening continuously .... below is snippet of the same.....
Fri Jan 16 11:22:53 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Fri Jan 16 11:22:53 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations [Fri Jan 16 11:22:53 2015] [notice] Server built: Sep 10 2014 11:38:25 [Fri Jan 16 11:22:53 2015] [notice] Parent: Created child process 11440 [Fri Jan 16 11:22:53 2015] [notice] Child 11440: Child process is running [Fri Jan 16 11:22:53 2015] [notice] Oracle WebLogic plugin build date/time: Feb 9 2011 11:49:26. Change Number: 1386101 [Fri Jan 16 11:22:53 2015] [notice] Child 11440: Acquired the start mutex. [Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting 64 worker threads. [Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80. [Fri Jan 16 11:22:53 2015] [notice] Child 11440: Starting thread to listen on port 80. [Fri Jan 16 11:22:54 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting. [Fri Jan 16 11:22:54 2015] [notice] Apache/2.2.29 (Win32) configured -- resuming normal operations
somebody know is possible on some way route traffic before come to web server (apache or lighttpd)?
I want to setup lighttpd on port 80 and apache on port 81 and I want visitors to go direct to apache or lighttpd without url:81 and that must work on this way if somebody visiting url1.domain.com that go to lighttpd on port 80 and if somebody visiting url2.domain.com that go to apache on port 81 and something must route it before lighttpd and apache (and get/post must work), is this possible on some way?
I know that lighttpd and apache can do it but I don`t need it on that way!
Im having trouble restarting apache. I have a program which executes command lines and it runs as a system service (on windows). when i tell it to restart it loads apache up (i see another httpd.exe appear in task manager) but it doesnt restart it. the command line i used is "httpd.exe -k restart" i have added an environment variable but i have also tried the full path to the exe and still no luck.
If i run the exact same line from a batch file as local admin then it works fine. I also tried getting my program to run that batch file but again it didnt work.
Is there a reason why this would happen? Can only Admin restart it and not SYSTEM? Is there another command i should be using?
I resolved this problem earlier by re-installing both php and apache and configuring them all over again.But when i restart my pc ,i get the same error....
my php.ini had some changes (/etc/php.ini). Today i have switch from apache to lighttpd, do i need to edit another php.ini file ? Apache and lighttpd use the same php.ini ( /etc/php.ini)?
Until recently, it seemed like everything I read about a server indicated that Apache was king. I have never read anything that has given me any reason not to use Apache.
However, about a year ago when I discovered Django, I discovered Lighttpd. From everything I've been able to read, Lighttpd seems to be a better web server, but still don't know very much at all about Lighttpd.
I'm fairly comfortable with Apache, although I've never cared much for it. I have a feeling that I'll like Lighttpd quite a bit more from the very little that I do know about it. I'm wondering if I should even consider switching.
For one, it seems that everyone knows how to work with Apache and Lighttpd seems to be far less common. Apache also seems to be much more established which leads me to believe that it's a safer choice. Nonetheless, I still really want to give Lighttpd a shot. And, judging from what I've seen about Django and Lighttpd, Lighttpd seems to be a better choice when working with Django.
What do you think? Should I stick with Apache since I already know how to use it? Is Lighttpd worth the time to learn or is Apache just too good?
I wanted to know what do you prefer as server apache or lighttpd , though I am running lighttpd and have no issue except that there is too much work for mod rewrite and it effects search engine, so I was thinking to use apache instaed of it will it be possible to install apache over lighttpd or will I have to go for fresh install.
For a year now I've been running my server with Lighttpd. It's worked out well so far, but now that I have a new box I'm reconsidering.
Lighttpd does not support .htaccess files which is a bit of a pain, and doesn't have the same support by apps like Apache does. Given that I get very little traffic to my box (it sits idle most of the time) I am considering Apache.
How is security between Apache and Lighttpd? I know Apache has things like mod_security and mod_evasive, but I've never really checked how Lighttpd compared.
For a while now I've noticed that on Plesk 12 the sw-cp-server init scripts can never restart the sw-cp-server properly. I have to manually kill the master process then restart it:
Code:
# /etc/init.d/sw-cp-server restart Stopping sw-cp-serverd: [FAILED] Starting sw-cp-serverd: nginx: [emerg] bind() to 0.0.0.0:6308 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8443 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:8880 failed (98: Address already in use)
index-file.names = ( "index.php", "index.html", "index.htm", "default.htm" ) and my httpd.conf
Code: ProxyRequests Off ProxyPreserveHost On ProxyPass /lighttpd http://0.0.0.0:81/ ProxyPassReverse / http://0.0.0.0:81/ Now when I created a folder on my server's httpdocs /lighttpd/
everything runs smooth so I got the lighty to work for me.
Okay now that i figure it works I wanted to run one of my subdomain on lighty so that I can reduce the load on the server. Does anyone know how I can setup one of my subdomain to open with lighttpd and keep everything else on apache?
Has anyone done this or currently running this setup? to try it with my directadmin server first but havent found very good documentation or howtos. Ive looked the last week or so and havent really found anything helpful. So if anyone is running such a setup Id like to know how you did it and how much better if any it is.
How do I configure Lighttpd to serve images/javascript/css files that are littered about my websites? Can I just input the paths of all the directories that I want Lighttpd to serve from?
For example, I have 4 separate websites with each having a message board, main page etc... Could I have lighty serve the files from:
I'm running both Apache (on port 81) and Lighttpd (port 80) on my VPS. I would like to have Apache run CGI/Perl scripts only for virtual hosts in the Lighttpd.conf. My Lighttpd.conf already has fastCGI enabled though.
There are 2 different domains with the same IP being served by Apache. I want one of the domains to be served by lighttpd, is it possible without having to change the IP of that domain?
1) 25k members with 100 - 125 members / guest being online at all times. about 400,000 page views per month 2) software pages static html about 200,000 page views per month. 3) a script library which get about 200,000 page views per month 4) i get about 2000 - 2500 software downloads per day. each download between 1mb to 3 mb give or take
i would estimate a total of 1 million page views per month...
a) i am using Apache right now would lighttpd help? b) if yes, how does one go about switching from Apache to Lighthtpd c) is it easy to manage and optimize lighttpd? d) can i just ask for lighttpd to be installed as default by any hosting company out there? e) does lighttpd support cPanel?
currently i am on a AMD Athlon(tm) 64 X2 Dual Core Processor 3800+(2 Ghz) with 2 GB RAM.
my server loads are sky high - anywhere between 10, 15 and 20.
I run file sharing service, bandwidth usage is going up too much, 300 Mbps, anyone know if file hosting sites use bandwidth shaping ? Any recommended settings for lighttpd?
to getting a second server, specifically for downloads for my site. Without going into too much detail, my website requires that I get a separate server for downloads, and another for the webserver.
I've already gone ahead and configured the server I want; however, I'm trying to do something different from what I'm used to. I'd like to use Lighttpd, instead of apache, as well as not having cPanel installed on the server. I'd still have cPanel and Apache on my regular webserver, but I'd rather keep my download server relatively clean.
So, once I get my server, and I install Lighttpd, how do I go about setting up everything so that my two servers can communicate? I'd like the download server to be something like: download.mydomain.com , so would I have to set up an A Hostname on my webserver?
Ive had this problem numerous times (website failed to connect error) before and the web management team tell me that apache2 needs to be restarted, seeing as they are not replying to my emails im gona try and do it myself.