Hello Everybody, I checked my services and my find is Apache is installed and is suppsed to start in 'Automatic' mode following is the entry in the Services Name Description Status Startup Type LogOn As Apache Apache/2.2.11 (Win32) ------ Automatic Local System However, the services does not start automatically, when I logon as an user or as an administrator. I tried starting 'Apache' manually by going into the installed software at the bottom of the taskbar. While logged on as a user, it forces me to start the service as an 'administrator', but then asks for the password. As far as password is concerned for the administrator for Apache, "I do not have any password" and it fails to start 'Apache'. When I log on as administrator, even then it does not start Apache. When I try to start Apache manually, it gives error message, "Requested services failed." I know I am missing one small point. And I know out there is somebody, who must have encountered the same problem. Please help. nagrik. On Wed, Apr 29, 2009 at 8:29 AM, James Crow <james@xxxxxxxxxxxxx> wrote: > Richard Quadling wrote: > >> 2009/4/29 Vinay Nagrik <vnagrik@xxxxxxxxx>: >> >> >>> Hello Group, >>> >>> Till yesteday, the .html file under htdocs were working fine under >>> >>> http://localhost/index.html >>> >>> but today the same URL >>> >>> http://localhost/index.html gives 404 error. >>> >>> My guess is that my apache web server is not working. >>> >>> Can someone tell me >>> >>> "How do I make sure that I am running Apache httpd server." >>> >>> Besides, yesterday when my .html files were working under >>> http://localhost/URL, and .php files were not working the log says the >>> following. >>> >>> ################# >>> Apr 28 07:43:01 2009] [notice] Apache/2.2.11 (Win32) configured -- >>> resuming >>> normal operations >>> [Tue Apr 28 07:43:01 2009] [notice] Server built: Dec 10 2008 00:10:06 >>> [Tue Apr 28 07:43:01 2009] [notice] Parent: Created child process 1296 >>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Child process is running >>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Acquired the start mutex. >>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting 64 worker >>> threads. >>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting thread to listen >>> on >>> port 80. >>> [Tue Apr 28 13:53:17 2009] [error] [client 192.168.1.104] File does not >>> exist: C:/Program Files/Apache Software >>> Foundation/Apache2.2/htdocs/crossdomain.xml >>> [Tue Apr 28 14:47:45 2009] [error] [client 127.0.0.1] File does not >>> exist: >>> C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico >>> ##################################### >>> >>> Can someone tell me what these two files are, what do they do, why are >>> they >>> important, and why no liteature mentions about them. >>> >>> Any help will be appreciated. >>> >>> nagrik. >>> >>> On Wed, Apr 29, 2009 at 4:32 AM, James Crow <james@xxxxxxxxxxxxx> wrote: >>> >>> >>> >>>> <snip> >>>> >>> -- >>> Thanks >>> >>> Nagrik >>> >>> >>> >> >> favicon.ico http://en.wikipedia.org/wiki/Favicon.ico >> crossdomain.xml http://en.wikipedia.org/wiki/Cross-site_request_forgery >> >> >> > On windows you can check the status of a service by running: > > sc query apache2 > > from a command prompt. The process name may be apache22. There is also the > Services MSC SnapIn that can be opened from Control Panel->Administrative > Tools->Services icon. It will list the status of all installed services. > > You seem to have two problems: > 1) Apache serving up 404 errors vice web pages > 2) PHP scripts not executing > > Fix Apache first before you worry about PHP. If there is an error in the > php.ini file it can cause Apache not to start. The error.log file I > mentioned earlier will show these types of errors though. > > Cheers, > James > -- Thanks Nagrik