Can I run Apache Web Server in Standby or hibernation? If not, is there anyway I could run the server without leaving my computer on all day? Like is there some low power mode I can set for my computer, that apache will still run on? Im hosting a website, and I dont want to spend to much energy hosting it.
120717
Yes you can, but during hibernation the system consumes more resources! This is the only problem!
409603
This is a multi-threaded server.  Much like a web server could do.\nFor comparison, the previous slide is a single threaded server.\n\nThe loops you are interested in are act as such.\nThe server starts and waits for a connection request from a client.  (Upper right yellow box).\nNext: Someone (like you or me) starts our client application (browser) which connects to the awaiting server.  (Dotted line that enters under the upper right yellow box).\nWhen the accept(...) happens, server creates a 'socket' (not shown).  This server fork() 's off (creates) a thread (process) [center right yellow box] that accepts the socket (not shown) and uses the socket to open an input and output channel which connects to the client (not shown).  This whole thing is generally a very fast operation.  That action is done for this client, so it loops waiting for another client to connect.\n\nBack to the client.  Remember, the last thing the client did was connect to the server.  Now the client wants to make a request (write() ) to the server for information.  This is the left yellow box.  It 'requests' and the server 'read()' the request.  Processes it, write() the response back to the client which read()'s the message and does what it needs to do.\n\nThe Client yellow box, and lower Server (client server) yellow box keep repeating (that's the loops) until the client is finished with all its requests.  A good client may send a 'bye' message to the server, so it can cleanly exit.  Other times just having the client exit, drops the I/O connection to the Server thread, which recognizes that action as the client exited, and that server thread exists.\n\nHope this helps.\n=mike
45838
You can usually run the scripts locally without Tomcat, just using an JRE, read up at \n\njava.sun.com
16207
It depends on the way your computer is set up and how much you use it through out the day. If you don't use your computer everyday, it might be safer to turn it off (and make sure you do a proper shutdown, such as using the start menu if you are on a Windows PC). As for not booting up correctly, there might be bad entries in the registry, or bad/damaged sectors on the hard drive (easily caused by too many impromper shut downs). If you can't figure out how to tell if you do or not, you may want to look for a reputable service center in your area that can help you find out. However, if you use your computer quite a bit, and you just want to turn it off to save power, but not have to wait for it to boot up everytime you need to use it, you may want to look in the control panel under the power options to see if you have support for a hibernation and/or standy-by mode. By using stand-by or hibernation mode, it will help to save on utility costs compared to leaving the computer fully powered on, but it will not require a actual "start up" when you go to return from the stand-by/hibernation mode.
500584
1. You sure can have a PHP, SQL Server, and IIS working together. I currently have that configured on two separate XP machines. The idea is get IIS up and running if it not already. Then install SQL Server and start it. Then follow the instructions I show you in the link provided below. You will need to setup PHP with an account on SQL server or have it use an existing one you created.\n\n2. I know you can have both installed at the same time (again I have this configuration) but I have never tried running both at the same time. I am not sure you would really want to do that. Choose one or the other and go with that just to save yourself troubles later.\n\n3. Java is a full blown programming language. It is compiled into machine code and executes as a program on the computer. JavaScript however is a script or partial language, it is run within the browser on the client-side. So you could potentially have a Java servelet (runs on the server) and JavaScript on a web page that accesses it. JavaScript is a bit limited (it doesn't handle memory like a language, it has access right limitations to the clients computer files, doesn't have much of what a full language has). Don't confuse it with Java which is a fully implemented language and can create executable programs.\n\nJavascript is the one used more widely on web pages. It is used for quick validation, using functions that require no trip to the server for information, and is one of the main technologies behind AJAX. I have provided a couple JavaScript tutorial links below.\n\nHope these answer your questions.
471001
Go look at your power settings in the control panel and disable standby.\n\nWhat happens when you use the start button to shut down the computer?  SOmetiomes viruses and bad stuff will hang during shutdown. Make sure your antivirus software is up to date and running.
288543
Most likely the standard version\n\ncheck the documentation\nhttp://httpd.apache.org/docs/2.2/\n\nFrom http://httpd.apache.org/docs/2.2/faq/background.html\n\nWhat is the Apache HTTP Server?\n    * is a powerful, flexible, HTTP/1.1 compliant web server\n    * implements the latest protocols, including HTTP/1.1 (RFC2616) \n.... jada jada
274537
Are you turning the computer OFF or STANDBY?
31917
DOS is not multithreaded like Windows, so a DHCP server would have to be installed as a TSR program and be triggered by an interupt from the network card???\n\nI'm having a hard time picturing an application where you are using Norton Ghost and need a DHCP server.  Can you add some additional explaination as to why you need the DHCP?\n\n(or ask it in another question)
599396
Can I answer this even though I don't consider myself to be an expert?\n\nIf you are looking for alternative ways to host or serve, look into the Microsoft exchange component. I high encourage you to do your research and shop and compare.\n\nI'm just supplying you with just another resource here and I'm not selling anything nor am I promoting it. If you would care to investigate the possibility of serving from home, take a look and make up your own mind.\n\nHow to build your own web server and NEVER pay hosting fees again.\nhttp://www.diywebhosting.com/
383985
I think you computer went into stand-by mode. To disable standby, Go to Start>Control Panel>Power Options.\n\nUnder Power Options properties, set power schemes to 'Always On'. You shouldn't have anymore problem after doing this.
472920
Try going to hibernate instead of standby by holding down the shift key and then pressing the hibernate button. My guess from experience is that your laptop is not configured correctly for standby mode and that hibernate would be your best bet. Good luck!
271282
There is a good chance the server is down right now. i would try to come back later or even tomorrow.  No site is up, try turning off the computer and restarting.
196737
WHAT IS A SERVER?\n\nA server is a mainframe computer with a lot of space on it, that subcontracts that space to the customers of the company that owns the computer, for a fee. This is called hosting. \n\nAN ANALOGY\n\nIf you wanted to hold a wedding reception you would find a hotel with a space big enough to host the number of guests you are expecting to turn up.\n\nWHAY DOES IT DO?\n\nIt is the physical computer memory to which you upload your pages, and where they are stored, which www users hunting your website access so as to get a visual image of your pages on their personal computer.\n\nWHY WOULD YOU NEED ONE?\n\nIf you have got a mainframe computer in your spare room, you wouldn't. Most of us haven't so we rent space on somebody else's mainframe.
49544
Is this running on a Linux box or a Windows box? I've done this on a Linux box, but I would have to assume that it will work much the same way on a Windows box, seeing as you're using Apache. The way I've done it is to use Perl and install Apache::ASP. There is some configuration involved, but the is nicely documented in the docs that come with the Apache::ASP module.
71306
With an older computer turning it off and on is really hard on it. But newer computers are more acustomed to it. The fans and stuff are meant to run, so why not use their abilitys? Leave it on if your not worried about power consumptuion. And evn still, go to Control Panel, click Preformance and Mantinece, then click Power Options and you can set the thing to go off at any time.
5966
You can use a Web Service.  If you are working with .net, it’s real easy.  It allows you to make network (soap) calls to maintain your data.  (Basically it’s what dave_exby was saying, but easy to implement).  I haven’t worked with it in Apache, but in IIS it is real hands free.  Think of it as computer readable web pages to pass information back and forth.