what is the best RewriteCond set up in .htaccess of CI site to make the most popular plug in, add on, imge, video, pdf e |
[eluser]searain[/eluser]
to make tinymce and other js, css scripts works, I use this RewriteCond from the tutorial cisample. Cisample's RewriteCond make tinymce js works Code: RewriteCond $1 !^(index\.php|img|css|js|video_files|robots\.txt|favicon\.ico) CodeIgniter User Guile RewriteCond (http://ellislab.com/codeigniter/user-gui.../urls.html) will not work on tinymce and js etc. Code: RewriteCond $1 !^(index\.php|images|robots\.txt) Cisample's RewriteCond Code: RewriteCond $1 !^(index\.php|img|css|js|video_files|robots\.txt|favicon\.ico) still may not cover a lot of issues. What is the best set up for RewriteCond, so I can cover most of the popular/general issues/usages I will face? Thanks.
[eluser]jayrulez[/eluser]
Code: <IfModule mod_rewrite.c>
[eluser]Dam1an[/eluser]
The best one is the one that works for you, which may not be the one that works for everyone else Mine is Code: RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico|license.txt) |
Welcome Guest, Not a member yet? Register Sign In |