Cannot use Webbserver on NS7

When I try and use my nethserver as a webserver, i get a page 500 error.

i looked into my /var/log/httpd/error_log and found:

“[Sat Aug 27 19:41:53.429672 2016] [autoindex:error] [pid 16274] [client 192.168.1.106:47140] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive”

I have an index.php file in the directory… anybody have the same problem…?

clint

Do you have an .htaccess file? Did you change anything else under /var/www or /etc/httpd? Any custom-template installed? Web applications, like wordpress?

Hi clinton,
for testing I’ve build an index.html and copied into the html directory. Everything wents fine. Could it be that you don’t have read-rights for others to the index file?

2 Likes