Welcome Guest, Not a member yet? Register   Sign In
GET parameters won't work
#6

[eluser]Mr. Pickle[/eluser]
The solution on http://ellislab.com/forums/viewthread/96347/ works for me.

This contains:

Changing the following 2 lines in the config.php file:

1.
Code:
$config['uri_protocol'] = "AUTO";
to:
Code:
$config['uri_protocol'] = "APP_PATH";


2.
Code:
$config['enable_query_strings'] = FALSE;
to:
Code:
$config['enable_query_strings'] = TRUE;


And setting the following .htaccess file:

Code:
RewriteEngine On

RewriteBase /

RewriteCond %{ENV:REDIRECT_APP_PATH} !^$
RewriteRule ^(.*)$ - [E=APP_PATH:%{ENV:REDIRECT_APP_PATH}]

RewriteCond %{ENV:APP_PATH} ^$
RewriteRule ^(.*)$ - [E=APP_PATH:/$1]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]

Only thing is I don't yet understand what I've done/set with the new htaccess and if/how this will effect my application.


Messages In This Thread
GET parameters won't work - by El Forum - 09-08-2010, 02:41 PM
GET parameters won't work - by El Forum - 09-08-2010, 03:41 PM
GET parameters won't work - by El Forum - 09-08-2010, 06:36 PM
GET parameters won't work - by El Forum - 09-09-2010, 05:05 AM
GET parameters won't work - by El Forum - 09-09-2010, 05:09 AM
GET parameters won't work - by El Forum - 09-09-2010, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB