Forum Moderators: phranque
I have not used Norton firewall but you should be able to do this through the admin area.
Because you are not able to access localhost this makes me wonder if Apache is running. The firewall should not block internal traffic. It only acts as a safety net to incoming hits.
Mack.
On ZoneAlarm you can assign Apache to the trusted zone and get it to work.
NIS does not have an easy way to do this that I have found. You can manually configure it.
WBF
On the other hand you may not have apache setup properly if you disable norton firewall and it still doesn't work.
regards,
Mark
1. Locate the section of the file that resembles this text:
#
# 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 Group/Apache2/htdocs”
2. Change the last line of this section to:
DocumentRoot “C:/Program Files/Apache Group/Apache2/test”
Notice that this uses forward slashes instead of backslashes.
3. Locate the section of the file that resembles this text:
#
# 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 Group/Apache2/htdocs”>
4. Change the last line of this section to:
<Directory “C:/Program Files/Apache Group/Apache2/test”>
5. Save your file and restart Apache so it can recognize the changes you made to the config file.
Now create a small “test” program to make sure Apache can find your directory.
Open Notepad and type the following:
<HTML>
<HEAD>
<TITLE>Apache testing</TITLE>
</HEAD>
<BODY>
If this works, we did it!
</BODY>
</HTML>
Save this as index.html in the “test” directory you created. Now open your browser, and type
[localhost...]
I do all this and restart Apache and it says there is an error. Am i missing somthing!?
[Sun Jul 11 01:40:08 2004] [notice] Parent: Created child process 2108
[Sun Jul 11 01:40:08 2004] [notice] Child 2108: Child process is running
[Sun Jul 11 01:40:08 2004] [notice] Child 2108: Acquired the start mutex.
[Sun Jul 11 01:40:08 2004] [notice] Child 2108: Starting 250 worker threads.
[Sun Jul 11 02:00:04 2004] [notice] Parent: Created child process 2772
[Sun Jul 11 02:00:04 2004] [notice] Child 2772: Child process is running
[Sun Jul 11 02:00:04 2004] [notice] Child 2772: Acquired the start mutex.
[Sun Jul 11 02:00:04 2004] [notice] Child 2772: Starting 250 worker threads.
[Sun Jul 11 02:10:06 2004] [notice] Parent: Created child process 1836
[Sun Jul 11 02:10:07 2004] [notice] Child 1836: Child process is running
[Sun Jul 11 02:10:07 2004] [notice] Child 1836: Acquired the start mutex.
[Sun Jul 11 02:10:07 2004] [notice] Child 1836: Starting 250 worker threads.
[Sun Jul 11 04:18:56 2004] [error] [client 24.62.178.243] request failed: URI too long (longer than 8190)
When i type [localhost...] into my browser it just comes up with the normal sucess screen! I did change the dir i'll show you this is what the httpd.conf looks like now:
# 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 Group/Apache2/test"
#
# 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
</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 Group/Apache2/test">