Re: [users@httpd] You don't have permission to access /index.html on this server.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# 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 all
                                                      
                                                      
         


The 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 and
> the permissions on the 
> folder containing index.html.
> 
> -Jonathan
> 
> zhou jian wrote:
> 
> >Hello Everyone,
> >
> >Once I started the httpd, I tried to visit the
> website
> >with http://127.0.0.1/index.html. It showed " It
> works
> >".
> >
> >Then I tried my ipaddress
> >http://myipaddress/index.html. It showed the
> following
> >error message.
> >
> >
> >You don't have permission to access /index.html on
> >this server.
> >
> >
> >Any ideas on this?
> >
> >--Paul
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> >protection 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
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection 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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux