Getting "No matching DirectoryIndex (index.html) found" error

2,351 views
Skip to first unread message

Ajoy Bhatia

unread,
Sep 8, 2015, 4:22:50 PM9/8/15
to reviewboard
Hi,

I just completed setting up ReviewBoard on my machine (MacOS X Yosemite 10.10.5) and it seems to work fine if I access it with my user/password from my machine (where server is installed & running). However, other people in my team (working on different machines) are not able to get even the first login page. The request does not get to ReviewBoard. I see the following error in /var/log/apache2/error_log:

[Tue Sep 08 19:43:17.716652 2015] [autoindex:error] [pid 33529] [client 127.0.0.1:59940] AH01276: Cannot serve directory /var/www/codereview/htdocs/media/uploaded    /files/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

Any help is much appreciated. Please let me know which config files / info you need. I do not know what would be relevant, and there are so many config files involved. :(

Thanks...
- Ajoy

Christian Hammond

unread,
Sep 8, 2015, 4:34:56 PM9/8/15
to revie...@googlegroups.com
Hi,

This looks to be purely an Apache configuration issue. Some virtualhost config is likely taking precedence. It's also possible your new virtualhost entry isn't matching the necessary hostname/IP.

Do you have a 000-default file somewhere in Apache?

Christian
--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
-- 
Christian Hammond - chri...@beanbaginc.com
Review Board - https://www.reviewboard.org

Ajoy Bhatia

unread,
Sep 8, 2015, 8:31:04 PM9/8/15
to reviewboard, chri...@beanbaginc.com
Thanks for the prompt reply, Christian! Everything OK now. It was a bad entry in my machine's routing table. I was not able to ping my own IP address. Deleting that entry with "route delete ...." did the trick.

- Ajoy


On Tuesday, September 8, 2015 at 1:34:56 PM UTC-7, Christian Hammond wrote:
Hi,

This looks to be purely an Apache configuration issue. Some virtualhost config is likely taking precedence. It's also possible your new virtualhost entry isn't matching the necessary hostname/IP.

Do you have a 000-default file somewhere in Apache?

Christian


On Tuesday, September 8, 2015, Ajoy Bhatia <ajoy....@gmail.com> wrote:
Hi,

I just completed setting up ReviewBoard on my machine (MacOS X Yosemite 10.10.5) and it seems to work fine if I access it with my user/password from my machine (where server is installed & running). However, other people in my team (working on different machines) are not able to get even the first login page. The request does not get to ReviewBoard. I see the following error in /var/log/apache2/error_log:

[Tue Sep 08 19:43:17.716652 2015] [autoindex:error] [pid 33529] [client 127.0.0.1:59940] AH01276: Cannot serve directory /var/www/codereview/htdocs/media/uploaded    /files/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

Any help is much appreciated. Please let me know which config files / info you need. I do not know what would be relevant, and there are so many config files involved. :(

Thanks...
- Ajoy

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages