RewriteEngine on
RewriteBase /
<FilesMatch "\.(html|htm|php|css)$">
Header set Cache
-Control
"max-age=10, private, proxy-revalidate" </FilesMatch>
## Trailing Slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
## Error pages
ErrorDocument 302 http://www.google.nl/error.php
ErrorDocument 400 http://www.google.nl/error.php
ErrorDocument 404 http://www.google.nl/error.php
ErrorDocument 405 http://www.google.nl/error.php
ErrorDocument 406 http://www.google.nl/error.php
ErrorDocument 407 http://www.google.nl/error.php
ErrorDocument 408 http://www.google.nl/error.php
ErrorDocument 409 http://www.google.nl/error.php
ErrorDocument 410 http://www.google.nl/error.php
ErrorDocument 411 http://www.google.nl/error.php
ErrorDocument 412 http://www.google.nl/error.php
ErrorDocument 413 http://www.google.nl/error.php
ErrorDocument 414 http://www.google.nl/error.php
ErrorDocument 415 http://www.google.nl/error.php
ErrorDocument 500 http://www.google.nl/error.php
ErrorDocument 501 http://www.google.nl/error.php
ErrorDocument 502 http://www.google.nl/error.php
ErrorDocument 503 http://www.google.nl/error.php
ErrorDocument 504 http://www.google.nl/error.php
ErrorDocument 505 http://www.google.nl/error.php
## Rewrite Rules
RewriteRule ^(.*)/$ index.php?pagina=$1