[eluser]luisfmgoncalves[/eluser]
Hello all,
I have the thing working in my laptop (with Ubuntu) and in my desktop (with windows and XAMPP).
When I put the files in the server where the application will be, stops working. I can see that when I change:
Code:
$config[‘uri_protocol’] = “PATH_INFO”;
to
Code:
$config[‘uri_protocol’] = “AUTO”;
I can get some things work (like a search in twitter). But when I try to login (through Twitter) I'm not redirected back to my application. Instead, the got the twitter confirmation page again with a new ticket.
My .htaccess is like this:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^project.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|stylesheets|system/application/sources/)
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
AddHandler x-httpd-php5 .php .php3 .php4 .phtml # phpvs v5
If I take the
? symbols in
RewriteRule ^(.*)$ index.php?/$1 [L] it will not work.
Any suggestion?
Thanks,
Luis