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

[eluser]John Pantoja[/eluser]
Outstanding! I hope I wasn't coming off as a roster or anything like that. I bet it all clicked once you knew what the flags meant huh? If at all possible, try to avoid naming collisions like that as mod_rewrite does what it's told (and what order).

A simple way of doing it would be:

RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule (.*) $1 [L]

If I'm not mistaken (or it will cause a 500 error). I want to say there is a flag (in the [] area) or maybe somewhere else that will tell mod_rewrite not to rewrite it but I can't think of it at the moment.


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