This is a discussion on home server configuration in windows using apache within the Apache Web Server forums, part of the Web Server and Related Forums category; I am trying to setup a home web server using apache in Windows. However, i have some problems with the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to setup a home web server using apache in Windows.
However, i have some problems with the editing of the httpd.conf file This are the steps i have followed till now I have edited the Documentroot and Directory to the Location i want to share. I have also commented the existing lines for the same finally, i changes the AllowOverride none to All Is there anything else that i must do? Apache restarts perfectly ; However when open localhost on the browzer, the usual apache page comes;i am unable to view the documents i shared Could someone tell what i have missed? |
|
|||
|
kryptos wrote:
> I am trying to setup a home web server using apache in Windows. > However, i have some problems with the editing of the httpd.conf file > This are the steps i have followed till now > I have edited the Documentroot and Directory to the Location i want to > share. I have also commented the existing lines for the same > finally, i changes the AllowOverride none to All > Is there anything else that i must do? > Apache restarts perfectly ; However when open localhost on the > browzer, the usual apache page comes;i am unable to view the > documents i shared Could someone tell what i have missed? Quite impossible to say. What's in your error and/or access log? -- Rik Wasmus |
|
|||
|
Rik wrote: > kryptos wrote: > > I am trying to setup a home web server using apache in Windows. > > However, i have some problems with the editing of the httpd.conf file > > This are the steps i have followed till now > > I have edited the Documentroot and Directory to the Location i want to > > share. I have also commented the existing lines for the same > > finally, i changes the AllowOverride none to All > > Is there anything else that i must do? > > Apache restarts perfectly ; However when open localhost on the > > browzer, the usual apache page comes;i am unable to view the > > documents i shared Could someone tell what i have missed? > > Quite impossible to say. > What's in your error and/or access log? > -- > Rik Wasmus Ntn out of the normal is there; as i said; Apache re starts perfectly According to the Apache docs, if thers any problem with the httpd file, apache will not re start Please lemme know if thers anything else that can be done? |
|
|||
|
kryptos wrote:
> Rik wrote: >> kryptos wrote: >>> I am trying to setup a home web server using apache in Windows. >>> However, i have some problems with the editing of the httpd.conf >>> file This are the steps i have followed till now >>> I have edited the Documentroot and Directory to the Location i want >>> to share. I have also commented the existing lines for the same >>> finally, i changes the AllowOverride none to All >>> Is there anything else that i must do? >>> Apache restarts perfectly ; However when open localhost on the >>> browzer, the usual apache page comes;i am unable to view the >>> documents i shared Could someone tell what i have missed? >> >> Quite impossible to say. >> What's in your error and/or access log? >> -- >> Rik Wasmus > Ntn out of the normal is there; as i said; Apache re starts perfectly > According to the Apache docs, if thers any problem with the httpd > file, apache will not re start > Please lemme know if thers anything else that can be done? Once again: What does the access log say? -- Rik Wasmus |
|
|||
|
Rik wrote: > kryptos wrote: > > Rik wrote: > >> kryptos wrote: > >>> I am trying to setup a home web server using apache in Windows. > >>> However, i have some problems with the editing of the httpd.conf > >>> file This are the steps i have followed till now > >>> I have edited the Documentroot and Directory to the Location i want > >>> to share. I have also commented the existing lines for the same > >>> finally, i changes the AllowOverride none to All > >>> Is there anything else that i must do? > >>> Apache restarts perfectly ; However when open localhost on the > >>> browzer, the usual apache page comes;i am unable to view the > >>> documents i shared Could someone tell what i have missed? > >> > >> Quite impossible to say. > >> What's in your error and/or access log? > >> -- > >> Rik Wasmus > > Ntn out of the normal is there; as i said; Apache re starts perfectly > > According to the Apache docs, if thers any problem with the httpd > > file, apache will not re start > > Please lemme know if thers anything else that can be done? > > Once again: What does the access log say? > -- > Rik Wasmus rik is right if you cant give your error then we cant help, guessing is long winded often a waste of time and not fulfilling for those you are asking. My advice is to download a prebuilt and configured copy of apache for windows like xampp and branch out later once you understand how to proceed from a working httpd.conf file |
|
|||
|
Hello -
I have done somthing similar. I actually did install an XAMPP package and it was working fine. I went into the httpd file to change the directory and now my localhost is not found. The last few lines in my error file are: [Fri Jan 12 21:15:28 2007] [notice] Parent: Child process exited successfully. [Fri Jan 12 21:15:32 2007] [notice] Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0 configured -- resuming normal operations [Fri Jan 12 21:15:32 2007] [notice] Server built: Sep 30 2006 21:24:06 [Fri Jan 12 21:15:32 2007] [notice] Parent: Created child process 3588 [Fri Jan 12 21:15:33 2007] [warn] module php5_module is already loaded, skipping [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Child process is running [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Acquired the start mutex. [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Starting 250 worker threads. [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to listen on port 443. [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to listen on port 8080. The only thing I changed in my setup was to point from: DocumentRoot "C:/XAMPP/xampp/htdocs" to DocumentRoot "C:/XAMPP/xampp/www" Any ideas how this newbie messed up? Thanks, David shimmyshack wrote: > Rik wrote: > > kryptos wrote: > > > Rik wrote: > > >> kryptos wrote: > > >>> I am trying to setup a home web server using apache in Windows. > > >>> However, i have some problems with the editing of the httpd.conf > > >>> file This are the steps i have followed till now > > >>> I have edited the Documentroot and Directory to the Location i want > > >>> to share. I have also commented the existing lines for the same > > >>> finally, i changes the AllowOverride none to All > > >>> Is there anything else that i must do? > > >>> Apache restarts perfectly ; However when open localhost on the > > >>> browzer, the usual apache page comes;i am unable to view the > > >>> documents i shared Could someone tell what i have missed? > > >> > > >> Quite impossible to say. > > >> What's in your error and/or access log? > > >> -- > > >> Rik Wasmus > > > Ntn out of the normal is there; as i said; Apache re starts perfectly > > > According to the Apache docs, if thers any problem with the httpd > > > file, apache will not re start > > > Please lemme know if thers anything else that can be done? > > > > Once again: What does the access log say? > > -- > > Rik Wasmus > > > rik is right if you cant give your error then we cant help, guessing is > long winded often a waste of time and not fulfilling for those you are > asking. > > My advice is to download a prebuilt and configured copy of apache for > windows like xampp and branch out later once you understand how to > proceed from a working httpd.conf file |
|
|||
|
Hello -
I have done somthing similar. I actually did install an XAMPP package and it was working fine. I went into the httpd file to change the directory and now my localhost is not found. The last few lines in my error file are: [Fri Jan 12 21:15:28 2007] [notice] Parent: Child process exited successfully. [Fri Jan 12 21:15:32 2007] [notice] Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0 configured -- resuming normal operations [Fri Jan 12 21:15:32 2007] [notice] Server built: Sep 30 2006 21:24:06 [Fri Jan 12 21:15:32 2007] [notice] Parent: Created child process 3588 [Fri Jan 12 21:15:33 2007] [warn] module php5_module is already loaded, skipping [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Child process is running [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Acquired the start mutex. [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Starting 250 worker threads. [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to listen on port 443. [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to listen on port 8080. The only thing I changed in my setup was to point from: DocumentRoot "C:/XAMPP/xampp/htdocs" to DocumentRoot "C:/XAMPP/xampp/www" Any ideas how this newbie messed up? Thanks, David shimmyshack wrote: > Rik wrote: > > kryptos wrote: > > > Rik wrote: > > >> kryptos wrote: > > >>> I am trying to setup a home web server using apache in Windows. > > >>> However, i have some problems with the editing of the httpd.conf > > >>> file This are the steps i have followed till now > > >>> I have edited the Documentroot and Directory to the Location i want > > >>> to share. I have also commented the existing lines for the same > > >>> finally, i changes the AllowOverride none to All > > >>> Is there anything else that i must do? > > >>> Apache restarts perfectly ; However when open localhost on the > > >>> browzer, the usual apache page comes;i am unable to view the > > >>> documents i shared Could someone tell what i have missed? > > >> > > >> Quite impossible to say. > > >> What's in your error and/or access log? > > >> -- > > >> Rik Wasmus > > > Ntn out of the normal is there; as i said; Apache re starts perfectly > > > According to the Apache docs, if thers any problem with the httpd > > > file, apache will not re start > > > Please lemme know if thers anything else that can be done? > > > > Once again: What does the access log say? > > -- > > Rik Wasmus > > > rik is right if you cant give your error then we cant help, guessing is > long winded often a waste of time and not fulfilling for those you are > asking. > > My advice is to download a prebuilt and configured copy of apache for > windows like xampp and branch out later once you understand how to > proceed from a working httpd.conf file |
|
|||
|
davidspeare@gmail.com wrote:
> Hello - > > I have done somthing similar. I actually did install an XAMPP package > and it was working fine. I went into the httpd file to change the > directory and now my localhost is not found. The last few lines in my > error file are: > > [Fri Jan 12 21:15:28 2007] [notice] Parent: Child process exited > successfully. > [Fri Jan 12 21:15:32 2007] [notice] Apache/2.2.3 (Win32) DAV/2 > mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0 configured > -- resuming normal operations > [Fri Jan 12 21:15:32 2007] [notice] Server built: Sep 30 2006 21:24:06 > [Fri Jan 12 21:15:32 2007] [notice] Parent: Created child process 3588 > [Fri Jan 12 21:15:33 2007] [warn] module php5_module is already > loaded, skipping > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Child process is > running > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Acquired the start > mutex. > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Starting 250 worker > threads. > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > listen on port 443. > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > listen on port 8080. > > The only thing I changed in my setup was to point from: > DocumentRoot "C:/XAMPP/xampp/htdocs" > to > DocumentRoot "C:/XAMPP/xampp/www" > > Any ideas how this newbie messed up? If that was the _only_ thing you changed in XAMPP settings, you forgot you have to change te main dir configuration also. On <Directory ></Directory> there's a "Deny from all" which you should amend for <Directory "C:/XAMPP/xampp/www"> like "Allow from 127.0.0.1". That won't give you a localhost not found error however. You _do_ try to use http://localhost:8080/ do you? It's not the standard port for http (or XAMPP), but clearly set. -- Rik Wasmus |
|
|||
|
Rik wrote: > davidspeare@gmail.com wrote: > > Hello - > > > > I have done somthing similar. I actually did install an XAMPP package > > and it was working fine. I went into the httpd file to change the > > directory and now my localhost is not found. The last few lines in my > > error file are: > > > > [Fri Jan 12 21:15:28 2007] [notice] Parent: Child process exited > > successfully. > > [Fri Jan 12 21:15:32 2007] [notice] Apache/2.2.3 (Win32) DAV/2 > > mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0 configured > > -- resuming normal operations > > [Fri Jan 12 21:15:32 2007] [notice] Server built: Sep 30 2006 21:24:06 > > [Fri Jan 12 21:15:32 2007] [notice] Parent: Created child process 3588 > > [Fri Jan 12 21:15:33 2007] [warn] module php5_module is already > > loaded, skipping > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Child process is > > running > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Acquired the start > > mutex. > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Starting 250 worker > > threads. > > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > > listen on port 443. > > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > > listen on port 8080. > > > > The only thing I changed in my setup was to point from: > > DocumentRoot "C:/XAMPP/xampp/htdocs" > > to > > DocumentRoot "C:/XAMPP/xampp/www" > > > > Any ideas how this newbie messed up? > > If that was the _only_ thing you changed in XAMPP settings, you forgot you > have to change te main dir configuration also. On > <Directory ></Directory> there's a "Deny from all" which you should amend > for <Directory "C:/XAMPP/xampp/www"> like "Allow from 127.0.0.1". > > That won't give you a localhost not found error however. You _do_ try to > use http://localhost:8080/ do you? It's not the standard port for http (or > XAMPP), but clearly set. > -- > Rik Wasmus As suggested i did download xampp; however i am unable to even access localhost. I have turned off the SP2 firewall as well as checked if port is busy. i dont have any other service blocking port80. Could someone tell me what i am missing? |
|
|||
|
kryptos wrote: > Rik wrote: > > davidspeare@gmail.com wrote: > > > Hello - > > > > > > I have done somthing similar. I actually did install an XAMPP package > > > and it was working fine. I went into the httpd file to change the > > > directory and now my localhost is not found. The last few lines in my > > > error file are: > > > > > > [Fri Jan 12 21:15:28 2007] [notice] Parent: Child process exited > > > successfully. > > > [Fri Jan 12 21:15:32 2007] [notice] Apache/2.2.3 (Win32) DAV/2 > > > mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0 configured > > > -- resuming normal operations > > > [Fri Jan 12 21:15:32 2007] [notice] Server built: Sep 30 2006 21:24:06 > > > [Fri Jan 12 21:15:32 2007] [notice] Parent: Created child process 3588 > > > [Fri Jan 12 21:15:33 2007] [warn] module php5_module is already > > > loaded, skipping > > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Child process is > > > running > > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Acquired the start > > > mutex. > > > [Fri Jan 12 21:15:34 2007] [notice] Child 3588: Starting 250 worker > > > threads. > > > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > > > listen on port 443. > > > [Fri Jan 12 21:15:35 2007] [notice] Child 3588: Starting thread to > > > listen on port 8080. > > > > > > The only thing I changed in my setup was to point from: > > > DocumentRoot "C:/XAMPP/xampp/htdocs" > > > to > > > DocumentRoot "C:/XAMPP/xampp/www" > > > > > > Any ideas how this newbie messed up? > > > > If that was the _only_ thing you changed in XAMPP settings, you forgot you > > have to change te main dir configuration also. On > > <Directory ></Directory> there's a "Deny from all" which you should amend > > for <Directory "C:/XAMPP/xampp/www"> like "Allow from 127.0.0.1". > > > > That won't give you a localhost not found error however. You _do_ try to > > use http://localhost:8080/ do you? It's not the standard port for http (or > > XAMPP), but clearly set. > > -- > > Rik Wasmus > > As suggested i did download xampp; however i am unable to even access > localhost. I have turned off the SP2 firewall as well as checked if > port is busy. i dont have any other service blocking port80. Could > someone tell me what i am missing? I really don't know what your setup is kryptos, you arent being very forthcoming with details which is why no-one is able to help you yet. Unless there is something weird about your OS, (perhaps it is infected) or you choose strange installation options or you installed it over the top of an existing xampp install xampp should come will a httpd.conf file that works. You need to start the apache server before you can access localhost. try http://127.0.0.1 and then http://localhost if the first works but not the second then you need to goto c:\windows\system32\drivers\etc\ and open hosts with notepad and add the line 127.0.0.1 localhost if it is missing. post back with more details - error logs, eventvwr entries, and someone will be only too please to help. have you tried starting the apache server and then typing telnet 127.0.0.1 80 what do you get? if a blank window then apache is and fine. if not then eventvwr will tell you why apache didnt start. If you cannot get apache going on port 80, try setting it to listen on another port NOT used by something else, and then try that in the browser. but I can not just keep guessing so now its up to you to give more details....... |
| Thread Tools | |
| Display Modes | |
|
|