Hi I have the problem all site index.html make a error. Fehler 500 - Interner Server-Fehler! or Fehler 403 - Verboten! The rights is corect, it makes on any html sites. I have no change make in apache.conf ot http.conf . I have apache2 . When I create a new sites with ispconfig it is the same problem.
Nothing under /var/log/apache2/error.log In Apache conf Code: DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.php4 index.php5 index.pl index.xhtml
This is the wrong error log to look at in this case. Please go to the log directory of the website and loog for a file error.log. So something like Code: /var/www/web1/log/error.log
oh I have this found Directory index forbidden by rule: ok i have the problem is only the index.html gives a error whenn I type www.test.de and i can see the site when I type www.test.de/index.html
Code: <VirtualHost 38.192.9.20:80> SuexecUserGroup web19_ftp web19 ServerName www.web.de:80 ServerAdmin [email protected] DocumentRoot /home/www/web19/web DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /home/times/web19/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /home/www/web19/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 suPHP_Engine on suPHP_UserGroup web19_ftp web19 AddHandler x-httpd-php .php .php3 .php4 .php5 suPHP_AddHandler x-httpd-php Alias /error/ "/home/www/web19/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /home/www/web19/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /home/www/web19/user/$1/web/$3 RewriteEngine on </VirtualHost>
I have this same issue. Unless a directory has an index.html to access, the browser give me a FORBIDDEN! message. So to simply make a folder with some files for download, rather than getting an index page jsut showing the files in there, it says FORBIDDEN! So basically I have to build an index.html file with the directories of the files just to access them.
I dont think ist the same problem. planet_fox gets a error when he has a index.html file and not when he dont have this file. But back to your problem, to get a directory listing, you must set the option "+indexes" for this directory in the apache configuration.
Sorry about that. I misread his problem. But thanks for the fix, it worked perfectly . *gives a till a cookie*
Code: drwxrwxrwx 7 web19_ftp web19 4096 Feb 25 12:36 . drwxr-xr-x 14 web19_ftp web19 4096 Feb 4 17:24 .. drwxr-xr-x 9 web19_ftp web19 4096 Feb 25 12:45 content drwxrwxrwx 2 web19_ftp web19 4096 Oct 7 12:14 error drwxrwxrwx 2 web19_ftp web19 4096 Oct 7 23:18 files -rwxrwxrwx 1 web19_ftp web19 4 Feb 22 15:02 index.html -rwxrwxrwx 1 web19_ftp web19 10 Feb 23 14:25 info.php drwxrwxr-x 8 web19_ftp web19 4096 Dec 26 02:50 shop drwxr-xr-x 2 web19_ftp web19 4096 Feb 2 04:01 stats
Ok under /etc/apache2/mods-enable and the mods-avalable is no mod_autoindex and I have see in a other apache configuration at home there is a mod_autoindex in the apache.conf . I do copy the lines there is not in my apache.conf on server and i hope it works than.
I have yesterday include in apache.conf the autoindex mod and restart the server . No change the probleme is the same. Only the index.html says Error 404 and when it is a index,php is no problem.
Can you post the URL of the /home/www/web19/web web site so that I can test with index.html and index.php? Make sure there is an index.html and index.php in /home/www/web19/web.