This is my .htaccess:
DirectoryIndex index.php
DefaultType application/x-httpd-php
AddDefaultCharset utf-8
Header set X-Frame-Options DENY
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
<Files ~ '\.inc.php$'>
Order deny,allow
Deny from all
</Files>
ErrorDocument 404 /inc/404.html
Is there anything I'm doing wrong? I really have no idea where to start. Any answer would be greately appreciated.
500errors as well as Apache. More information will usually show up in the Apache error log or the php error log or directly on the page itself (depending on what you have configured.) – Ladadadada Dec 5 '11 at 23:16