Re: Apache Tomcat 2.4 forbidden on root when Indexes are disabled.

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

 



> Date: Tuesday, January 26, 2016 16:40:23 +0100
> From: Weare Borg <kernelfreak@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> wrote:
> 
>> On Tue, Jan 26, 2016 at 10:14 AM, Weare Borg
>> <kernelfreak@xxxxxxxxx> 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@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