httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard <lists-apa...@listmail.innovate.net>
Subject Re: [users@httpd] Apache Tomcat 2.4 forbidden on root when Indexes are disabled.
Date Tue, 26 Jan 2016 15:47:11 GMT

> Date: Tuesday, January 26, 2016 16:40:23 +0100
> From: Weare Borg <kernelfreak@gmail.com>
>
> Hi Eric,
> 
> Error log :
> 
> [Tue Jan 26 16:25:04.015356 2016] [core:notice] [pid 30823]
> AH00094:
>> Command line: '/usr/sbin/apache2'
>> [Tue Jan 26 16:32:14.613618 2016] [autoindex:error] [pid 30827]
>> [client 127.0.0.1:47452] AH01276: Cannot serve directory
>> /var/www/html/: No matching DirectoryIndex
>> (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm)
>> found, and server-generated directory index forbidden by Options
>> directive, referer:
>> http://localhost/recovery/install/index.php/finish/ [Tue Jan 26
>> 16:38:02.326241 2016] [autoindex:error] [pid 30828] [client
>> 127.0.0.1:47716] AH01276: Cannot serve directory /var/www/html/:
>> No matching DirectoryIndex
>> (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm)
>> found, and server-generated directory index forbidden by Options
>> directive
>> 
> 
> These are the same name of files on remote-server where we have
> Apache 2.2, and it's working fine there.
> 
> 
> On Tue, Jan 26, 2016 at 4:21 PM, Eric Covener <covener@gmail.com>
> wrote:
> 
>> On Tue, Jan 26, 2016 at 10:14 AM, Weare Borg
>> <kernelfreak@gmail.com> wrote:
>> > Kindly let me know what I can do to get rid of this forbidden
>> > message.
>> 
>> What does your error log say?
>> 

Do you have a file with the name of one of:

 index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm

at "/var/www/html/", that is readable by the user that your server
is running as?

Note, filenames are case sensitive.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message