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 23:06:07 GMT
You should be able to get to /opt/rt3/share/html from an /rt3 alias, but 
if the path of the alias is not relative, shouldn't your alias be 
/opt/rt3?  I not /opt/rt3, then try adding the 3 to rt3...is that a typo?

-Jonathan

zhou jian wrote:

>Thanks for the response. I did use
>http://128.255.163.105/rt
>to get to that location.
>
>I used /opt/rt3/share/html as the document root. What
>does your last sentence mean? Does that mean I can't
>alias /opt/rt3/share/html with /rt because that I have
>to use that as document root?
>
>
>--- "Jonathan S. Abrams"
><j.abrams@nutmegaudiopost.com> wrote:
>
>  
>
>>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
>>>>>>            
>>>>>>

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