Welcome Guest, Not a member yet? Register   Sign In
will mod_rewrite work with temp urls???
#2

[eluser]Phil Sturgeon[/eluser]
Not sure why the first set of rules failed, but the second set of rules can be easily fixed.

Quote:RewriteEngine on
RewriteCond $1 !^(index\.php|images|javascript|style|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L]

That will stop looking for your index file on the root of your domain. Now it will look for the index.php in the directory its currently looking at.


Messages In This Thread
will mod_rewrite work with temp urls??? - by El Forum - 09-29-2008, 10:27 PM
will mod_rewrite work with temp urls??? - by El Forum - 09-30-2008, 06:44 AM
will mod_rewrite work with temp urls??? - by El Forum - 09-30-2008, 08:25 AM
will mod_rewrite work with temp urls??? - by El Forum - 09-30-2008, 09:04 AM
will mod_rewrite work with temp urls??? - by El Forum - 09-30-2008, 05:36 PM
will mod_rewrite work with temp urls??? - by El Forum - 10-01-2008, 04:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB