This is a discussion on Help setting up apache within the Apache Web Server forums, part of the Web Server and Related Forums category; I am trying to setup my pc which has windows vista on it, with apache. First I got the error ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to setup my pc which has windows vista on it, with apache.
First I got the error make_sock: could not bind to address 0.0.0.0:80. I then changed the port to 8080 and was able to get the apache page and http://localhost. But, after modified the httpd.config by changing the document root for my local website. I keep getting the 404 error. When I checked the logs it is still expecting the document root to be in the default directory. Here is the error message File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ mysite The interesting thing is at work I use the same config file but it has windows xp and works like a charm. I have been struggling with this for several days, any help would greatly be appreciated. Thanks, Jeff |
|
|||
|
On Apr 29, 3:10 am, jeffhg58 <jeffh...@comcast.net> wrote:
> I am trying to setup my pc which has windows vista on it, with apache. > > First I got the error make_sock: could not bind to address 0.0.0.0:80. > I then changed > the port to 8080 and was able to get the apache page andhttp://localhost. > > But, after modified the httpd.config by changing the document root for > my local website. > I keep getting the 404 error. When I checked the logs it is still > expecting the document root > to be in the default directory. Here is the error message > > File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ > mysite > > The interesting thing is at work I use the same config file but it has > windows xp and works like a charm. > > I have been struggling with this for several days, any help would > greatly be appreciated. > > Thanks, > Jeff there are probably two places in the httpd.conf file (not config) where you need to change the path. if you use vhosts that will be different. did you restart apache after the change? on a separate issue, when you say "i changed the port to 8080" do you mean set apache to listen on 8080 rather than 80, do you need the process that is already binding to port 80 (probably iis) to be there, if not, kill it, and set apache to Listen *:80 i'm not totally convinced that you are visiting the right server from your post http://localhost:8080 rather than http://localhost which would mean your errors would be coming from the wrong server, no amount of config twwaking will help there! |
|
|||
|
On Apr 29, 6:11 am, shimmyshack <matt.fa...@gmail.com> wrote:
> On Apr 29, 3:10 am, jeffhg58 <jeffh...@comcast.net> wrote: > > > > > > > I am trying to setup my pc which has windows vista on it, with apache. > > > First I got the error make_sock: could not bind to address 0.0.0.0:80. > > I then changed > > the port to 8080 and was able to get the apache page andhttp://localhost. > > > But, after modified the httpd.config by changing the document root for > > my local website. > > I keep getting the 404 error. When I checked the logs it is still > > expecting the document root > > to be in the default directory. Here is the error message > > > File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ > > mysite > > > The interesting thing is at work I use the same config file but it has > > windows xp and works like a charm. > > > I have been struggling with this for several days, any help would > > greatly be appreciated. > > > Thanks, > > Jeff > > there are probably two places in the httpd.conf file (not config) > where you need to change the path. > if you use vhosts that will be different. > did you restart apache after the change? > on a separate issue, when you say "i changed the port to 8080" do you > mean set apache to listen on 8080 rather than 80, do you need the > process that is already binding to port 80 (probably iis) to be there, > if not, kill it, and set apache to > Listen *:80 > i'm not totally convinced that you are visiting the right server from > your posthttp://localhost:8080rather thanhttp://localhost > which would mean your errors would be coming from the wrong server, no > amount of config twwaking will help there!- Hide quoted text - > > - Show quoted text - I think I know what the problem is but not sure how to fix it. Even though on windows vista I installed apache as administrator for command line. I was manually editing the httpd.conf file and it looked my changes weren't taking place. So, I went directly to configure the httpd.conf file from the apache menu and sure enough my changes show the default and I when I try and change the file and save it I do not have permission to update the file. Even though, I go into the directory via windows explorer and change the attributes to not make it read only. I still get the same permissions file error. It looks like at least I have an idea on how to proceeed. If you have any suggestions, let me know Thanks, Jeff |
|
|||
|
Sorry if this is totally obvious : but you do have to restart apache after
editing httpd.conf "jeffhg58" <jeffhg58@comcast.net> wrote in message news:1177812618.355469.149910@y80g2000hsf.googlegr oups.com... >I am trying to setup my pc which has windows vista on it, with apache. > > > First I got the error make_sock: could not bind to address 0.0.0.0:80. > I then changed > the port to 8080 and was able to get the apache page and http://localhost. > > But, after modified the httpd.config by changing the document root for > my local website. > I keep getting the 404 error. When I checked the logs it is still > expecting the document root > to be in the default directory. Here is the error message > > File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/ > mysite > > The interesting thing is at work I use the same config file but it has > windows xp and works like a charm. > > I have been struggling with this for several days, any help would > greatly be appreciated. > > Thanks, > Jeff > |