2009/8/10 Issac Goldstand <[email protected]>: > Let's say you have a line Redirect 301 /foo/bar. /baz/bar.extension > > One would assume from the docs that this would rewrite > /foo/bar.something to /baz/bar.extension.something > > However, this isn't the case, since /foo/bar.something doesn't end with > a / and therefore mod_alias is looking for an exact match (in > alias_matches) and the request doesn't get modified at all
Yes, but a request for /foo/bar./other/some would become /baz/bar.extension/other/some with your redirect directive. So may be you should word that the string compared against the URL-path argument of the directive must have a slash beyond the match in order to append additional path information to the URL-argument of the directive. But may be "Additional path information" may word that already if you're defining additional path information as /path/info and not foo. Bob --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
