Welcome Guest, Not a member yet? Register   Sign In
bypass index.php file
#1

[eluser]UnknownPlayer[/eluser]
Hi,
i need to bypass codeignter index.php file, becouse i cant use address like g=css in url, so i need to bypass index.php file, how can i do that?

Full address is domain.com/public/min/g=css it says that = is not permited, how can i do this ?
This is my .htaccess:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond $1 !^(index\.php|images|robots\.txt|css)
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>


Messages In This Thread
bypass index.php file - by El Forum - 02-04-2013, 03:34 PM
bypass index.php file - by El Forum - 02-04-2013, 04:30 PM
bypass index.php file - by El Forum - 02-04-2013, 06:02 PM
bypass index.php file - by El Forum - 02-06-2013, 11:53 PM
bypass index.php file - by El Forum - 02-07-2013, 12:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB