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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.