Hello to everyone. Sorry for my English. I’m trying to solve ERR_TOO_MANY_REDIRECTS that I get on my droplet. I have CentOS 6.5 32bit, Apache 2.2.15, PHP 5.4.26, MySQL, phpMyAdmin 4.1.9.
And there is .htacces from site directory: AddDefaultCharset UTF-8
Options +SymLinksIfOwnerMatch Options -Indexes
RewriteEngine on
#apache2ctl -M && sudo a2enmod expires && sudo service apache2 restart (to enable mod_expires on ubuntu) <IfModule mod_expires.c> ExpiresActive On ExpiresDefault “access 7 days” ExpiresByType image/gif “access plus 1 year” ExpiresByType image/jpeg “access plus 1 year” ExpiresByType image/png “access plus 1 year” ExpiresByType image/jpg “access plus 1 year” ExpiresByType image/x-icon “access 1 year” ExpiresByType application/x-shockwave-flash “access 1 year” ExpiresByType application/javascript “access 1 year” ExpiresByType application/x-javascript “access 1 year” ExpiresByType text/css “access 1 year” ExpiresByType text/html “access 1 year” </IfModule>
RewriteRule ^(.).tpl$ [R=404] RewriteRule ^(.).zip$ [R=404]
RewriteCond $1 !^(index.php|user_guide|uploads/.|favicon.ico|docs|favicon.png|captcha/.|application/modules/./templates|application/mod$RewriteRule ^(.)$ /index.php/$1 [L]
####################################
RewriteRule ^(.+)$ index.php?$1 [L]
Who can help me ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This comment has been deleted
Olá Estou com o mesmo erro em meu site de cifras simplificadas alguem pode me ajudar? Cifras
You basically have a redirect rule that keeps running and therefore generating too many/infinite redirections. <br> <br>Let’s start from scratch, what do you want to accomplish with your rewrite rules?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
