Click to See Complete Forum and Search --> : Apache..not sure


ferg
03-21-2002, 03:57 PM
When I type /etc/rc.d/init.d/httpd restart
I get Stopping Apache: [OK]
Starting Apache: [OK]
[root@fergweb /]#

so I assume apache is running. Also it is on a public ip address.
However, when I try from another computer http://216.xxx.xxx.xxx I get the following:

You are not authorized to view this page
You might not have permission to view this directory or page using the credentials you supplied.

--------------------------------------------------------------------------------

If you believe you should be able to view this directory or page, please try to contact the Web site by using any e-mail address or phone number that may be listed on the home page.

You can click Search to look for information on the Internet.


HTTP Error 403 - Forbidden
Internet Explorer
Should I have the IP address in the /etc/httpd/cpnf/httpd.conf file from 127.0.0.1 to the real IP?



Michael E. Ferguson
305.423.3408 Direct

mychl
03-21-2002, 05:41 PM
So obviously the server is running, you just need to get your permissions right.

To do that you're going to have to read the httpd.conf file to see if you have permissions set in there.

The server is running though or you wouldn't get an error page.

ferg
03-21-2002, 06:17 PM
Thanks. I will check it out.

Ryeker
03-23-2002, 11:26 PM
Apache is running. You don't have one of the default documents in your webroot, and Apache is not allowed to list the contents of the directory. What does it do? 403! Put an index.html in your webroot (with some cheap html like "<p>Hello world!</p>" and you'll be set.