[wp-hackers] idea: PATH_INFO

Ryan Boren ryan at boren.nu
Wed Jun 30 23:02:28 UTC 2004


On Wed, 2004-06-30 at 17:44 -0500, Matt Mullenweg wrote:
> If someone enters a permalink structure that is obviously 
> PATH_INFO-centered, we shouldn't echo out all those nasty mod_rewrite rules.
> 

rewrite_rules() already has a check to see if the permalink structure
starts with index.php so that the prefix can be set correctly.  We can
put this same check in options-permalink and throttle the RewriteRule
output appropriately.  In their place, we could put, "Congratulations,
you don't need a computer science degree to understand this."  Or
something like that. :-)

Ryan





More information about the hackers mailing list