Is your firewall blocking port 80? -Jonathan zhou jian wrote:
The strange thing is that I can access with http://127.0.0.1/index.html. Does this one related to firewall? --- zhou jian <sunzhoujian@xxxxxxxxx> wrote:# This should be changed to whatever you set DocumentRoot to. # <Directory "/usr/local/apache2_rt/htdocs"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see #http://httpd.apache.org/docs/2.2/mod/core.html#options# for more information. # Options Indexes FollowSymLinks## AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None## Controls who can get stuff from this server. # Order allow,deny Allow from allThe above is the directory options in my conf file. It is standard configuration. And I changed all the permission to 777 for the htdocs directory. But it still doesn't work! --- "Jonathan S. Abrams" <j.abrams@xxxxxxxxxxxxxxxxxxx> wrote:Check the directory options in your conf file andthe permissions on the folder containing index.html.-Jonathan zhou jian wrote:Hello Everyone, Once I started the httpd, I tried to visit thewebsitewith http://127.0.0.1/index.html. It showed " Itworks". Then I tried my ipaddress http://myipaddress/index.html. It showed thefollowingerror message. You don't have permission to access /index.htmlonthis server. Any ideas on this? --Paul__________________________________________________Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spamprotection around http://mail.yahoo.com---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html>formore info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spamprotection around http://mail.yahoo.com__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spamprotection around http://mail.yahoo.com
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx