.htaccess

software development

#1

Hello =]

I wrote this:
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi

works fine…

Before… I wrote this…
RewriteEngine on
RewriteCond $1 !^(index.php|images|style.css|robots.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

works fine!

Now… I wrote this:
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php.cgi
RewriteEngine on
RewriteCond $1 !^(index.php|images|style.css|robots.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

Don’t work =’[

Can anyone help me?!

Thanks!!


#2

Change your rewrite condition like this:

RewriteCond %{REQUEST_URI} !^(index.php|images|style.css|robots.txt)


#3

Do not works =/

Thanks Paul =]

Somebody know?!?!

^^