Welcome Guest, Not a member yet? Register   Sign In
clean urls, oauth, twitter
#4

[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


Messages In This Thread
clean urls, oauth, twitter - by El Forum - 04-12-2010, 07:55 PM
clean urls, oauth, twitter - by El Forum - 04-24-2010, 03:13 AM
clean urls, oauth, twitter - by El Forum - 05-12-2010, 08:51 PM
clean urls, oauth, twitter - by El Forum - 06-18-2010, 08:10 AM
clean urls, oauth, twitter - by El Forum - 08-16-2010, 06:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB