Welcome Guest, Not a member yet? Register   Sign In
Newbie Error, migrating site & anything other than default controller won't fire
#5

[eluser]Guiseppi[/eluser]
This .htaccess is sitting in the root folder of my site:

Code:
<IfModule mod_rewrite.c>
        RewriteEngine On
         #RewriteBase /
        
        # If the file or directory exists, show it
         #RewriteCond %{REQUEST_URI} ^system.*
         #RewriteRule ^(.*)$ /index.php?/$1 [L]
        #RewriteCond %{REQUEST_FILENAME} -f [OR]
        #RewriteCond %{REQUEST_FILENAME} -d
        #RewriteRule ^(.+) - [PT,L]

        # Blank queries get sent to the index
        #RewriteRule ^$ index.php [L]

        # All other queries get sent to the index as index.php/whatever
        # RewriteRule ^(.*)$ index.php/$1 [L]
        
        #RewriteCond $1 !^(index\.php|images|robots\.txt|js|css|user_guide)
        #RewriteRule ^(.*)$ /index.php/$1 [L]
        
         #RewriteCond %{REQUEST_URI} ^application.*

        RewriteCond $1 !^(index\.php|includes|robots\.txt|fonts)
        RewriteRule ^(.*)$ index.php?/$1 [L]

         #RewriteCond %{REQUEST_FILENAME} !-f
         #RewriteCond %{REQUEST_FILENAME} !-d  
      
</IfModule>


Messages In This Thread
Newbie Error, migrating site & anything other than default controller won't fire - by El Forum - 04-13-2011, 07:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB