Welcome Guest, Not a member yet? Register   Sign In
Routes and GET Query.
#7

[eluser]pisio[/eluser]
[quote author="WanWizard" date="1282011132"]You can try this rewrite
Code:
Rewritebase /ci/
RewriteCond $1 ^subtitles/search/$
RewriteCond %{QUERY_STRING} ^subs\=([^&]+)$
RewriteRule ^$ subtitles/search/subs/%1 [L]
[/quote]
Code:
<IfModule mod_rewrite.c>

        Options +FollowSymLinks
        RewriteEngine on
        # Send request via index.php (again, not if its a real file or folder)
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d

        <IfModule mod_php5.c>
                Rewritebase /ci/
                RewriteCond $1 ^subtitles/search/$
                RewriteCond %{QUERY_STRING} ^subs\=([^&]+)$
                RewriteRule ^$ subtitles/search/subs/%1 [L]

                RewriteRule ^(.*)$ index.php/$1 [L]
        </IfModule>                                    
</IfModule>

error 500


Messages In This Thread
Routes and GET Query. - by El Forum - 08-16-2010, 02:00 PM
Routes and GET Query. - by El Forum - 08-16-2010, 02:49 PM
Routes and GET Query. - by El Forum - 08-16-2010, 02:52 PM
Routes and GET Query. - by El Forum - 08-16-2010, 02:55 PM
Routes and GET Query. - by El Forum - 08-16-2010, 02:58 PM
Routes and GET Query. - by El Forum - 08-16-2010, 03:12 PM
Routes and GET Query. - by El Forum - 08-16-2010, 03:19 PM
Routes and GET Query. - by El Forum - 08-16-2010, 06:00 PM
Routes and GET Query. - by El Forum - 08-17-2010, 05:36 AM
Routes and GET Query. - by El Forum - 08-17-2010, 06:42 AM
Routes and GET Query. - by El Forum - 08-17-2010, 06:50 AM
Routes and GET Query. - by El Forum - 08-17-2010, 03:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB