[wp-hackers] WP Mod_Rewrite Explanation

Computer Guru computerguru at neosmart.net
Fri Oct 27 20:37:29 GMT 2006


I've been looking for a freeware open source (GPL) alternative to
Mod_Rewrite for IIS, and I've found something that'll work with some
hacking.

It works OK, but it's quirky, I was looking for an explanation for this:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]

The last line: what exactly is it?
Is it the same as
(.*)$ /blog/index.php/$1 [L]

The way I see it, it says "Redirect all requests to index.php"

But then how does index.php have any idea what was called? Is it using
Request_URI in there (ugh!)?

If so, I'll need more hacking than I thought....

Computer Guru
NeoSmart Technologies
http://neosmart.net/blog/




More information about the wp-hackers mailing list