View Single Post

  #2 (permalink)  
Old 04-29-2007
shimmyshack
 
Posts: n/a
Default Re: Help setting up apache

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!