Welcome Guest, Not a member yet? Register   Sign In
Htaccess or Modrewrite issue
#4

[eluser]GeXus[/eluser]
Maybe it is my settings..


Here's what I have for htaccess
Code:
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt|favicon\.ico|license.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

RewriteCond %{QUERY_STRING} .
RewriteRule ^$ /? [L]

and then

Code:
$config['uri_protocol']    = "PATH_INFO";

The reason I'm doing PATH_INFO is so I can have URL's like this
http://www.domain.com/register?param=somethingelse

This is primarily used for appending tracking values onto various pages.


Messages In This Thread
Htaccess or Modrewrite issue - by El Forum - 01-24-2011, 07:49 PM
Htaccess or Modrewrite issue - by El Forum - 01-24-2011, 08:39 PM
Htaccess or Modrewrite issue - by El Forum - 01-24-2011, 09:10 PM
Htaccess or Modrewrite issue - by El Forum - 01-24-2011, 09:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB