httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan S. Abrams" <j.abr...@nutmegaudiopost.com>
Subject Re: [users@httpd] You don't have permission to access /index.html on this server.
Date Fri, 24 Feb 2006 22:28:48 GMT
With your alias being /rt, you would have to type 
http://128.255.163.105/rt to get to that location.  Based on the error 
message, you might get around this if you alias /opt/rt3/share/html as 
the document root.

-Jonathan

zhou jian wrote:

>Not at all. I checked the log file. I am running RT in
>this httpd. And the RT was installed under /opt/rt3. I
>added the configuration below to the httpd.conf. From
>the error message in the log file, I found that 
>
>"client denied by server configuration:
>/opt/rt3/share/html/index.html"
>
>And http://128.255.163.105/index.html was directed to
>the virtual host install of
>/usr/local/htdocs/index.html where I installed my
>httpd server.
>
>I think this is the problem. But how can I correct
>this one?
>
><VirtualHost 128.255.163.105>
>Alias /rt "/opt/rt3/share/html"
>#Alias /rt "/usr/local/rt"
>                                                      
>                                                      
>                          
>                                                      
>                                                      
>                          
>ServerName 128.255.163.105
>DocumentRoot /opt/rt3/share/html
>AddDefaultCharset UTF-8
>PerlModule Apache::DBI
>PerlRequire /opt/rt3/bin/webmux.pl
>                                                      
>                                                      
>                          
>                                                      
>                                                      
>                          
><Location /opt/rt3/share/html>
>  SetHandler perl-script
>  PerlHandler RT::Mason
></Location>
></VirtualHost>
>
> //log file of httpd server
>[Fri Feb 24 14:51:20 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>[Fri Feb 24 14:51:20 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>[Fri Feb 24 14:51:20 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>[Fri Feb 24 14:51:45 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>[Fri Feb 24 14:53:54 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>[Fri Feb 24 15:00:25 2006] [error] [client
>128.255.163.105] client denied by server
>configuration: /opt/rt3/share/html/index.html
>
>
>--- "Jonathan S. Abrams"
><j.abrams@nutmegaudiopost.com> wrote:
>
>  
>
>>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@yahoo.com> 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 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@nutmegaudiopost.com> 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
>>>>>>            
>>>>>>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message