Hi guys.
Im searching for a while now but i can't figure it out what Im doing wrong, I hope one of you could help me. I get the follow error in my error.log:
[Sat Aug 2 17:20:28 2008] [error] [client x.x.x.x] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary. This is the .htaccess file i am using:
RewriteEngine on
php_value upload_max_filesize 400M
php_value post_max_size 400M
php_value output_buffering on
php_value max_execution_time 600000
php_value max_input_time 60000
php_value session.gc_maxlifetime 144000
php_flag register_globals Off
AddType text/html .html
AddHandler server-parsed .html
AddHandler server-parsed .htm
AddType application/x-httpd-php .html
AddHandler x-httpd-php .html
RewriteCond %{REQUEST_URI} ^/(css|js|img|tmp|admin|images|videos|thumbs)/.*
RewriteRule ^(.*)$ $1 [PT,L]
RewriteCond %{REQUEST_URI} ^/(.+)\.php
RewriteRule ^(.*)$ $1 [PT,L]
RewriteCond %{REQUEST_URI} ^/info\.txt
RewriteRule ^(.*)$ $1 [PT,L]
RewriteRule ^1([0-9]+)\.html$ index.php?mod=image&id=$1 [L]
RewriteRule ^2([0-9]+)\.html(.*)$ index.php?mod=video&id=$1 [L]
RewriteRule ^3([0-9]+)\.html$ index.php?mod=galleries&id=$1 [L,QSA]
RewriteRule ^([^\.]+)\.html$ index.php?mod=$1 [L,QSA]
RewriteCond %{HTTP_HOST} !^www.xxx.net$ [NC]
RewriteRule ^(.*)$ http://www.xxx.net/$1 [R,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.xxx.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xxx.net$ [NC]
RewriteCond %{HTTP_REFERER} !^http://top.xxx.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://top.xxx.net$ [NC]
RewriteRule .*\.(.flv|.wmv|.avi|.mpg)$ http://www.xxx.net/top50.html [R,NC]
ErrorDocument 403 /index.php
ErrorDocument 404 /index.php
<Files 403.shtml>
order allow,deny
allow from all
</Files> Thanks,
Suiker