Re: [users@httpd] rewrite rule on apache2 .htaccess file (SOLVED)

2013-07-22 Thread Tamer Higazi
erstand what's wrong > in your rewrite, if you can, try to enable RewriteLog it will help > really a lot. > > Best regards, > Vincenzo > > > > 2013/7/21 Tamer Higazi <mailto:th9...@googlemail.com>> > > Solved! > > My rewrite rules

[users@httpd] rewrite rule on apache2 .htaccess file (SOLVED)

2013-07-21 Thread Tamer Higazi
Solved! My rewrite rules now look like this: RewriteEngine on RewriteCond %{REQUEST_URI} !/static/ RewriteRule ^(.+)\.(css|img|fonts|js)$ /static/$1 [L] RewriteCond $1 !^(index\.php|images|robots\.txt|static) RewriteRule ^(.*)$ /index.php/$1 [L] On 07/21/13 20:34, Tamer Higazi wrote: >

Re: [users@httpd] rewrite rule on apache2 .htaccess file

2013-07-21 Thread Tamer Higazi
some > way, will handle it. > > Honestly, after all I had no time to test my suggestion, but please try with > this: > > RewriteRule ^/(css|js|fonts)(/.*)?$ /static$2 [L] > RewriteRule ^/(.*)$ /index.php/$1 [L] > > Best regards, > Vincenzo > > > On 21

[users@httpd] rewrite rule on apache2 .htaccess file

2013-07-20 Thread Tamer Higazi
Hi people! I have problems making successfully a rewrite rule for my Webapplication (CodeIgniter) with mod_rewrite. In my ".htaccess" file, I have the following rewrite rules: RewriteEngine on RewriteRule ^[css|js|fonts](/.*)?$ /static$1 [L] RewriteRule ^(.*)$ /index.php/$1 [L] But the 1st rule