Conjurer Posted January 5, 2008 Share Posted January 5, 2008 I used to have 2.0 installed but lost my hard disk in a crash. So I just loaded apache_2.2.6-win32-x86-no_ssl.msi and it loaded - I went to the C:/Program Files/Apache Software Foundation/Apache2.2/htdocs folders and the index.html opens and says It Worked. My old 2.0 was set up with a "localhost" directory and I would specify that in my website definitions in Dreamweaver to get my sites to interact with it as a testing server. I am confused with the flollowing settings - do I need to change some of these? Can I change document root to be my webfolder like c:\websites\?: # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName den.pc.ashlandfiber.net:80 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"> Quote Link to comment Share on other sites More sharing options...
Conjurer Posted January 5, 2008 Author Share Posted January 5, 2008 I tried changing those to make the root "c:/web site" And now I get an error message when I try to start Apache: OS 10048 Only one useage of each socket address <protocol/network address/port> is normally permitted. :make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Quote Link to comment Share on other sites More sharing options...
Conjurer Posted January 5, 2008 Author Share Posted January 5, 2008 I guess it is loading automatically. I looked at processes and it is already running and working. Think I am good to go! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted January 5, 2008 Share Posted January 5, 2008 To test to see if Apache is running properly make sure you go to http://localhost That address will invoke Apache and you should either get a It Works message or a Index of page displayed. If you get either of the two mentioned then Apache is working fine. If you don't then make sure Apache is running via the Apache Service Monitor in the Taskbar. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.