LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2015, 02:19 PM   #1
pizzipie
Member
 
Registered: Jun 2005
Location: Sagle, ID
Distribution: Ubuntu 14.04
Posts: 140

Rep: Reputation: 0
Can't access new entry into my index.html file


I don't know whether this question goes in the server forum or not so I put it in here.

In one of Ubuntu's 14.04 update sessions it apparently updated Apache2.2 (or whatever) into Apache/2.4.7/ I have a virtual host mydb.com which has been working fine for more than a year. Now, if I try to add another item (<input type="button" class="hov" id="btn2h" value="My-Google-Mapping" onclick="window.location.href='my-mapping'"></input><br /></li>) to the index.html file /my-mapping/ I get the below error. I have absolutely no idea what it means or how to fix it. If I don't get this I get a 403 permissions error. I have set all my files to 777.

Thanks in advance for helping me to fix this.

R

403 ERROR:

FORBIDDEN

You don't have permission to access /my-mapping/ on this server.
Apache/2.4.7 (Ubuntu) Server at mydb.com Port 80



GENERATED ERROR:

[Thu Oct 29 10:55:37.071391 2015] [autoindex:error] [pid 3243] [client 127.0.0.1:32926] AH01276: Cannot serve directory /home/rick/DB-Web/my-mapping/: 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://mydb.com/

Last edited by pizzipie; 10-29-2015 at 02:24 PM. Reason: Added information
 
Old 10-29-2015, 03:02 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 517

Rep: Reputation: 177Reputation: 177
As the error says the server does not find an index file with the listed extensions in that directory.

You can enable server-generated directory listing with the "Options Directive". See Indexes here. Then you will see what is actually in the directory.

Reproduced error:
Quote:
[Thu Oct 29 13:40:27.195452 2015] [autoindex:error] [pid 5106] [client 192.168.2.3:47014] AH01276: Cannot serve directory /var/www/test/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive, referer: http://192.168.2.3/test.html

Last edited by norobro; 10-29-2015 at 03:07 PM.
 
Old 11-02-2015, 04:37 PM   #3
pizzipie
Member
 
Registered: Jun 2005
Location: Sagle, ID
Distribution: Ubuntu 14.04
Posts: 140

Original Poster
Rep: Reputation: 0
SOLVED:

Thanks norobro,

That fixed it.

R
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to upload index.html file hemanthm17 Linux - Server 7 06-13-2012 10:48 PM
How to give directory access from index.html on apache2 in SuSe Linux ajitup Linux - Server 5 06-05-2008 08:15 AM
403 You don't have permission to access /index.html on this server. xpucto Linux - Networking 6 06-06-2006 10:19 AM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 06:06 AM
Apache 2.0 search for index.html file pawlub Linux - Software 2 10-28-2003 11:03 AM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration