htaccess Elite

.htaccess tutorial


All times are UTC [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: maximum number of internal redirects .
PostPosted: 02 Aug 2008 16:23 
Offline

Joined: 02 Aug 2008 16:09
Posts: 6
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


Top
 Profile  
 
 Post subject: Re: maximum number of internal redirects .
PostPosted: 03 Aug 2008 16:27 
Offline

Joined: 02 Aug 2008 16:09
Posts: 6
Nobody knows? :(


Top
 Profile  
 
 Post subject: Re: maximum number of internal redirects .
PostPosted: 04 Aug 2008 15:59 
Offline

Joined: 02 Aug 2008 16:09
Posts: 6
I think not :)


Top
 Profile  
 
 Post subject: Re: maximum number of internal redirects .
PostPosted: 07 Aug 2008 06:59 
Offline

Joined: 02 Aug 2008 16:09
Posts: 6
hmm..?


Top
 Profile  
 
 Post subject: Re: maximum number of internal redirects .
PostPosted: 08 Aug 2008 02:25 
Offline

Joined: 02 Aug 2008 16:09
Posts: 6
Guess to ask somewhere else.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB