PHP
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at blabla.nl Port 80
Toon Meer
Dat krijg ik dus op mijn site.
Ik weet niet waarom hij dat doet.
Ik host bij Versio.
Elke keer als ik mijn .htaccess eruit haal werkt de site, maar werken de links niet meer.
Hier is de .htaccess:
PHP
<IfModule mod_deflate.c>
# Insert filter
SetOutputFilter DEFLATE
# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html
# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip
# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won't work. You can use the following
# workaround to get the desired effect:
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|ico)$ no-gzip
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.*)\.(\d+)(_m_\d+)?\.([^\.]+)$ $1.$4 [L,QSA]
</IfModule>
## USER IP BANNING
<Limit GET POST>
order allow,deny
deny from 77.248.223.97
allow from all
</Limit>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/x-javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
#RewriteEngine on
Options +Multiviews
RewriteCond %{HTTP_HOST} ^warrock-hacker\.nl$
RewriteRule ^(.*)$ http://www.warrock-hacker.nl/$1 [R=301,L]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase /
RewriteRule ^(.*)/pagina-(.*)/$ index.php?p=$1&pn=$2 [L]
#custom page
RewriteRule ^ledenlijst/(.*)/pagina-(.*)/$ index.php?p=ledenlijst&id=$1&pn=$2 [L]
RewriteRule ^ledenlijst/(.*)/$ index.php?p=ledenlijst&id=$1 [L]
#rss
RewriteRule ^rss-feed/(.*).xml$ rss-feed/$1.php [L]
#Leden
RewriteRule ^leden/(.*)/(.*)/$ index.php?p=leden/$1&id=$2 [L]
RewriteRule ^leden/(.*)/$ index.php?p=leden/$1 [L]
RewriteRule ^profiel/(.*)/$ index.php?p=leden/profiel&id=$1 [L]
RewriteRule ^profiel2/(.*)/$ index.php?p=leden/profiel2&id=$1 [L]
#Ledenpaneel
RewriteRule ^ledenpaneel/(.*)/(.*)/$ index.php?p=ledenpaneel/$1&id=$2 [L]
RewriteRule ^ledenpaneel/(.*)/$ index.php?p=ledenpaneel/$1 [L]
RewriteRule ^ledenpaneel/$ index.php?p=ledenpaneel/index [L]
# Prive Berichten
RewriteRule ^prive-berichten/(.*)/(.*)/$ index.php?p=ledenpaneel/pm/$1&id=$2 [L]
RewriteRule ^prive-berichten/(.*)/$ index.php?p=ledenpaneel/pm/$1 [L]
RewriteRule ^prive-berichten/$ index.php?p=ledenpaneel/pm/index [L]
#hacks
RewriteRule ^hacks/(.*)/$ index.php?p=hacks&id=$1 [L]
RewriteRule ^hacks/$ index.php?p=hacks [L]
RewriteRule ^nieuws/(.*)/$ index.php?p=nieuws&id=$1 [L]
# Videos
RewriteRule ^filmpjes/nieuw/$ index.php?p=videos/nieuw [L]
RewriteRule ^filmpjes/$ index.php?p=videos/index [L]
RewriteRule ^filmpjes/(.*)/(.*)/$ index.php?p=videos/$1&id=$2 [L]
RewriteRule ^filmpjes/(.*)/$ index.php?p=videos/index&id=$1 [L]
# Tutorials
RewriteRule ^tutorials/nieuw/$ index.php?p=tutorials/nieuw [L]
RewriteRule ^tutorials/bekijken/(.*)/(.*)/$ index.php?p=tutorials/bekijken&id=$1&name=$2 [L]
RewriteRule ^tutorials/(.*)/(.*)/$ index.php?p=tutorials/$1&id=$2 [L]
RewriteRule ^tutorials/$ index.php?p=tutorials/index [L]
RewriteRule ^tutorials/(.*)/$ index.php?p=tutorials/index&id=$1 [L]
# downloads
RewriteRule ^downloads/nieuw/$ index.php?p=downloads/nieuw [L]
RewriteRule ^downloads/$ index.php?p=downloads/index [L]
RewriteRule ^downloads/(.*)/(.*)/$ index.php?p=downloads/$1&id=$2 [L]
RewriteRule ^downloads/(.*)/$ index.php?p=downloads/index&id=$1 [L]
# Forum
RewriteRule ^forum/edit/(.*)/(.*)/$ index.php?p=forum/edit&actie=$1&id=$2 [L]
RewriteRule ^forum/topic/(.*)/(.*)/$ index.php?p=forum/topic&id=$1&name=$2 [L]
RewriteRule ^forum/topic2/(.*)/(.*)/$ index.php?p=forum/topic2&id=$1&name=$2 [L]
RewriteRule ^forum/verwijderen/(.*)/(.*)/$ index.php?p=forum/verwijderen&actie=$1&id=$2 [L]
RewriteRule ^forum/(.*)/(.*)/$ index.php?p=forum/$1&id=$2 [L]
RewriteRule ^forum/post_action/(.*)/$ index.php?p=forum/post_action&id=$1 [L]
RewriteRule ^forum/(.*)/$ index.php?p=forum/$1 [L]
RewriteRule ^forum/$ index.php?p=forum/index [L]
RewriteRule ^tools/$ index.php?p=tools/$1 [L]
# zoeken
RewriteRule ^zoeken/(.*)/$ index.php?p=zoeken&zoekterm=$1 [L]
#custom page
RewriteRule ^pagina-(.*)/$ index.php?p=pagina&id=$1 [L]
# beheer
RewriteRule ^beheer/(.*)/(.*)/$ index.php?p=beheer/$1&id=$2 [L]
RewriteRule ^beheer/$ index.php?p=beheer/index [L]
#fun
RewriteRule ^fun/(.*)/(.*)/$ index.php?p=fun/$1/$2 [L]
RewriteRule ^fun/$ index.php?p=fun/index [L]
# home
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# home
RewriteRule ^(.*)/pagina-(.*)/$ index.php?p=$1&pn=$2 [L]
RewriteRule ^(.*)/$ index.php?p=$1 [L]
</IfModule>
# magic quotes uit
php_flag magic_quotes_gpc off
#Expire Header
<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf)$">
ExpiresDefault "access plus 2 hours"
</FilesMatch>
# useragent security
RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]
RewriteCond %{QUERY_STRING} ^(.*)=http [NC]
RewriteRule ^(.*)$ – [F,L]
Toon Meer
Kunnen jullie me helpen?
Alvast bedankt.