Welcome Guest, Not a member yet? Register   Sign In
[solved]htaccess folder controller help
#9

[eluser]quasiperfect[/eluser]
@john
nah. the best way is to learn how to deal with a problem in general.
it was something good to read for the future
form what i understand after reading the flags documentation i think the rule i used is the best
my htaccess looks now like this
Code:
RewriteEngine On
RewriteBase /mycisite/
RewriteRule ^myfolder/(regex here)$ where to redirect [L]
RewriteRule ^(application|system) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]

so for the myfolder case it runs until the myfolder rule and it exits there because of the [L] flag

unless i'm missing something


Messages In This Thread
[solved]htaccess folder controller help - by El Forum - 01-20-2010, 12:09 PM
[solved]htaccess folder controller help - by El Forum - 01-20-2010, 04:59 PM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 12:58 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 01:19 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 01:49 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 01:58 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 03:02 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 03:17 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 03:28 AM
[solved]htaccess folder controller help - by El Forum - 01-21-2010, 12:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB